resolver-egretimp-plus 0.0.297 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resolver-egretimp-plus",
3
- "version": "0.0.297",
3
+ "version": "0.0.298",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -105,28 +105,28 @@ const dialogValue = computed({
105
105
  // 是否显示确定按钮
106
106
  const showConfirmButton = computed(() => {
107
107
  return (
108
- typeof props.config?.showConfirmButton === 'boolean' ?
108
+ typeof props.config?.showConfirmButton == 'boolean' ?
109
109
  !!(props.config?.showConfirmButton) :
110
- props.config.showConfirmButton === '1'
110
+ props.config.showConfirmButton == '1'
111
111
  ) || (
112
- typeof props.config?.showConfirm === 'boolean' ?
112
+ typeof props.config?.showConfirm == 'boolean' ?
113
113
  !!(props.config?.showConfirm) :
114
- props.config.showConfirm === '1'
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 === 'boolean' ?
121
+ typeof props.config.showCloseButton == 'boolean' ?
122
122
  !!(props.config.showCloseButton) :
123
- props.config.showCloseButton === '1'
123
+ props.config.showCloseButton == '1'
124
124
  ) :
125
125
  hasOwn(props.config, 'showClose') ?
126
126
  (
127
- typeof props.config.showClose === 'boolean' ?
127
+ typeof props.config.showClose == 'boolean' ?
128
128
  !!(props.config.showClose) :
129
- props.config.showClose === '1'
129
+ props.config.showClose == '1'
130
130
  ) :
131
131
  true
132
132
  })