vue2-client 1.17.7 → 1.17.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -23,7 +23,9 @@ const wrapperClassObject = computed(() => {
|
|
|
23
23
|
'dialog-style',
|
|
24
24
|
'button-style',
|
|
25
25
|
'header-center',
|
|
26
|
-
'expanded-grid-white'
|
|
26
|
+
'expanded-grid-white',
|
|
27
|
+
// listView模式下隐藏“已选择”按钮
|
|
28
|
+
'listview-hide-selected'
|
|
27
29
|
]
|
|
28
30
|
for (const key of booleanStyleKeys) {
|
|
29
31
|
const val = a[key]
|
|
@@ -411,5 +413,11 @@ const isHiddenFunctionalArea = computed(() => {
|
|
|
411
413
|
background-color: white;
|
|
412
414
|
}
|
|
413
415
|
}
|
|
416
|
+
// listView模式下隐藏“已选择”按钮(该按钮包含 monitor 图标)
|
|
417
|
+
&.h-form-table-listview-hide-selected {
|
|
418
|
+
:deep(.ant-badge:has(.ant-btn .anticon-monitor)) {
|
|
419
|
+
display: none !important;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
414
422
|
}
|
|
415
423
|
</style>
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
{{ item.label }}
|
|
119
119
|
</a-select-option>
|
|
120
120
|
</template>
|
|
121
|
-
<template v-else>
|
|
121
|
+
<template v-else-if="attr.keyName">
|
|
122
122
|
<template
|
|
123
123
|
v-if="attr.keyName.indexOf('logic@') !== -1 || attr.keyName.indexOf('config@') !== -1
|
|
124
124
|
||attr.keyName.indexOf('search@') !== -1 || attr.keyName.indexOf('search@') !== -1">
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
{{ item.label }}
|
|
250
250
|
</a-select-option>
|
|
251
251
|
</template>
|
|
252
|
-
<template v-else>
|
|
252
|
+
<template v-else-if="attr.keyName">
|
|
253
253
|
<template
|
|
254
254
|
v-if="attr.keyName.indexOf('logic@') !== -1 || attr.keyName.indexOf('config@') !== -1
|
|
255
255
|
||attr.keyName.indexOf('search@') !== -1 || attr.keyName.indexOf('search@') !== -1">
|
|
@@ -1336,9 +1336,11 @@ export default {
|
|
|
1336
1336
|
}
|
|
1337
1337
|
} else if (this.attr.keyName.indexOf('config@') !== -1) {
|
|
1338
1338
|
const configName = this.attr.keyName.substring(7)
|
|
1339
|
-
|
|
1340
|
-
this.
|
|
1341
|
-
|
|
1339
|
+
if (configName) {
|
|
1340
|
+
getConfigByName(configName, this.serviceName, res => {
|
|
1341
|
+
this.getDataCallback(res.value)
|
|
1342
|
+
}, this.env === 'dev')
|
|
1343
|
+
}
|
|
1342
1344
|
} else if (this.attr.keyName.indexOf('async ') !== -1 || this.attr.keyName.indexOf('function ') !== -1) {
|
|
1343
1345
|
this.updateOptions()
|
|
1344
1346
|
}
|