resolver-egretimp-plus 0.0.296 → 0.0.298
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/dist/theme/element/index.css +1 -1
- package/dist/theme/element/src/components/index.scss +1 -0
- package/dist/theme/element/src/components/tag.scss +6 -0
- package/dist/web/index.js +1 -1
- package/package.json +1 -1
- package/src/components/packages-web/CustomComponentDialog.vue +8 -8
- package/src/theme/element/components/index.scss +1 -0
- package/src/theme/element/components/tag.scss +6 -0
package/package.json
CHANGED
|
@@ -105,28 +105,28 @@ const dialogValue = computed({
|
|
|
105
105
|
// 是否显示确定按钮
|
|
106
106
|
const showConfirmButton = computed(() => {
|
|
107
107
|
return (
|
|
108
|
-
typeof props.config?.showConfirmButton
|
|
108
|
+
typeof props.config?.showConfirmButton == 'boolean' ?
|
|
109
109
|
!!(props.config?.showConfirmButton) :
|
|
110
|
-
props.config.showConfirmButton
|
|
110
|
+
props.config.showConfirmButton == '1'
|
|
111
111
|
) || (
|
|
112
|
-
typeof props.config?.showConfirm
|
|
112
|
+
typeof props.config?.showConfirm == 'boolean' ?
|
|
113
113
|
!!(props.config?.showConfirm) :
|
|
114
|
-
props.config.showConfirm
|
|
114
|
+
props.config.showConfirm == '1'
|
|
115
115
|
)
|
|
116
116
|
})
|
|
117
117
|
// 是否显示确定关闭按钮
|
|
118
118
|
const showCloseButton = computed(() => {
|
|
119
119
|
return hasOwn(props.config, 'showCloseButton') ?
|
|
120
120
|
(
|
|
121
|
-
typeof props.config.showCloseButton
|
|
121
|
+
typeof props.config.showCloseButton == 'boolean' ?
|
|
122
122
|
!!(props.config.showCloseButton) :
|
|
123
|
-
props.config.showCloseButton
|
|
123
|
+
props.config.showCloseButton == '1'
|
|
124
124
|
) :
|
|
125
125
|
hasOwn(props.config, 'showClose') ?
|
|
126
126
|
(
|
|
127
|
-
typeof props.config.showClose
|
|
127
|
+
typeof props.config.showClose == 'boolean' ?
|
|
128
128
|
!!(props.config.showClose) :
|
|
129
|
-
props.config.showClose
|
|
129
|
+
props.config.showClose == '1'
|
|
130
130
|
) :
|
|
131
131
|
true
|
|
132
132
|
})
|