From bb9f87dbd24a0a367fd173e43592510a7da5a610 Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Tue, 24 Dec 2024 14:53:54 +0800 Subject: [PATCH] =?UTF-8?q?fix(web):=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改了 visibleOn 属性的字符串格式,统一使用双引号 - 移除了不必要的反引号,简化了字符串表达式 --- gringotts-frontend/pages/index/tab-check.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gringotts-frontend/pages/index/tab-check.js b/gringotts-frontend/pages/index/tab-check.js index eb9bcb3..d0af8c4 100644 --- a/gringotts-frontend/pages/index/tab-check.js +++ b/gringotts-frontend/pages/index/tab-check.js @@ -31,7 +31,7 @@ export function tabCheck() { stringField('modifiedUsername', '最后操作人', 100), operationField('操作', undefined, [ { - visibleOn: `\${type === 'CONFIRMATION' && state === 'CHECKING'}`, + visibleOn: "${type === 'CONFIRMATION' && state === 'CHECKING'}", type: 'action', label: '处理', level: 'link', @@ -58,14 +58,14 @@ export function tabCheck() { ), }, { - visibleOn: `\${type === 'CONFIRMATION' && state !== NORMAL}`, + visibleOn: "${type === 'CONFIRMATION' && state !== NORMAL}", type: 'action', label: '查看', level: 'link', ...confirmationDetailDialog('parameters.confirmationId'), }, { - visibleOn: `\${type === 'AUTHENTICATION' && state === 'CHECKING'}`, + visibleOn: "${type === 'AUTHENTICATION' && state === 'CHECKING'}", type: 'action', label: '处理', level: 'link', @@ -92,14 +92,14 @@ export function tabCheck() { ), }, { - visibleOn: `\${type === 'AUTHENTICATION' && state !== NORMAL}`, + visibleOn: "${type === 'AUTHENTICATION' && state !== NORMAL}", type: 'action', label: '查看', level: 'link', ...authenticationDetailDialog('parameters.authenticationId'), }, { - visibleOn: `\${type === 'MARKET' && state === 'CHECKING'}`, + visibleOn: "${type === 'MARKET' && state === 'CHECKING'}", type: 'action', label: '处理', level: 'link', @@ -126,7 +126,7 @@ export function tabCheck() { ), }, { - visibleOn: `\${type === 'MARKET' && state !== NORMAL}`, + visibleOn: "${type === 'MARKET' && state !== NORMAL}", type: 'action', label: '查看', level: 'link',