fix(web):优化代码格式
- 修改了 visibleOn 属性的字符串格式,统一使用双引号 - 移除了不必要的反引号,简化了字符串表达式
This commit is contained in:
@@ -31,7 +31,7 @@ export function tabCheck() {
|
|||||||
stringField('modifiedUsername', '最后操作人', 100),
|
stringField('modifiedUsername', '最后操作人', 100),
|
||||||
operationField('操作', undefined, [
|
operationField('操作', undefined, [
|
||||||
{
|
{
|
||||||
visibleOn: `\${type === 'CONFIRMATION' && state === 'CHECKING'}`,
|
visibleOn: "${type === 'CONFIRMATION' && state === 'CHECKING'}",
|
||||||
type: 'action',
|
type: 'action',
|
||||||
label: '处理',
|
label: '处理',
|
||||||
level: 'link',
|
level: 'link',
|
||||||
@@ -58,14 +58,14 @@ export function tabCheck() {
|
|||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
visibleOn: `\${type === 'CONFIRMATION' && state !== NORMAL}`,
|
visibleOn: "${type === 'CONFIRMATION' && state !== NORMAL}",
|
||||||
type: 'action',
|
type: 'action',
|
||||||
label: '查看',
|
label: '查看',
|
||||||
level: 'link',
|
level: 'link',
|
||||||
...confirmationDetailDialog('parameters.confirmationId'),
|
...confirmationDetailDialog('parameters.confirmationId'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
visibleOn: `\${type === 'AUTHENTICATION' && state === 'CHECKING'}`,
|
visibleOn: "${type === 'AUTHENTICATION' && state === 'CHECKING'}",
|
||||||
type: 'action',
|
type: 'action',
|
||||||
label: '处理',
|
label: '处理',
|
||||||
level: 'link',
|
level: 'link',
|
||||||
@@ -92,14 +92,14 @@ export function tabCheck() {
|
|||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
visibleOn: `\${type === 'AUTHENTICATION' && state !== NORMAL}`,
|
visibleOn: "${type === 'AUTHENTICATION' && state !== NORMAL}",
|
||||||
type: 'action',
|
type: 'action',
|
||||||
label: '查看',
|
label: '查看',
|
||||||
level: 'link',
|
level: 'link',
|
||||||
...authenticationDetailDialog('parameters.authenticationId'),
|
...authenticationDetailDialog('parameters.authenticationId'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
visibleOn: `\${type === 'MARKET' && state === 'CHECKING'}`,
|
visibleOn: "${type === 'MARKET' && state === 'CHECKING'}",
|
||||||
type: 'action',
|
type: 'action',
|
||||||
label: '处理',
|
label: '处理',
|
||||||
level: 'link',
|
level: 'link',
|
||||||
@@ -126,7 +126,7 @@ export function tabCheck() {
|
|||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
visibleOn: `\${type === 'MARKET' && state !== NORMAL}`,
|
visibleOn: "${type === 'MARKET' && state !== NORMAL}",
|
||||||
type: 'action',
|
type: 'action',
|
||||||
label: '查看',
|
label: '查看',
|
||||||
level: 'link',
|
level: 'link',
|
||||||
|
|||||||
Reference in New Issue
Block a user