resolver-egretimp-plus 0.0.248 → 0.0.250

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.248",
3
+ "version": "0.0.250",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -160,6 +160,7 @@ defineExpose({
160
160
  <style lang="scss">
161
161
  .open-child-frame {
162
162
  overflow-y: auto;
163
+ overflow-x: hidden;
163
164
  &.el-dialog {
164
165
  margin-top: 30px !important;
165
166
  margin-bottom: 30px;
@@ -58,7 +58,7 @@ watch(lasetLimitIdx, (val) => {
58
58
 
59
59
  const collapseLabel = computed(() => {
60
60
  const isCh = lang?.value?.indexOf('zh') > -1
61
- return isCollapse.value ? (isCh ? '更多' : 'More') : (isCh ? '收起' : 'Close')
61
+ return isCollapse.value ? (isCh ? '更多' : 'More') : (isCh ? '收起' : 'Less')
62
62
  })
63
63
  function toCollapse() {
64
64
  isCollapse.value = !isCollapse.value
@@ -72,9 +72,9 @@ function toCollapse() {
72
72
  <Renderer :config="pmPageMetaList" v-model="modelValue"></Renderer>
73
73
  </div>
74
74
  <div v-if="showCollapseBtn" class="collapse-wrap">
75
- <cmi-button type="text" size="small" @click="toCollapse">
75
+ <span class="collapse-span" @click="toCollapse">
76
76
  {{ collapseLabel }}
77
- </cmi-button>
77
+ </span>
78
78
  </div>
79
79
  </cmi-collapse>
80
80
  </div>
@@ -93,6 +93,10 @@ function toCollapse() {
93
93
  .collapse-wrap {
94
94
  display: flex;
95
95
  justify-content: end;
96
+ & > .collapse-span {
97
+ color: #3271FE;
98
+ margin: 8px 16px 16px 16px;
99
+ }
96
100
  }
97
101
  </style>
98
102
  <style lang="scss">
@@ -219,21 +219,23 @@ export function parseCondition(rule) {
219
219
 
220
220
  refVal = (refVal === undefined || refVal === null) ? '' : refVal
221
221
  targetVal = (targetVal === undefined || targetVal === null) ? '' : targetVal
222
+
223
+ let formatRefVal = refVal
224
+ let formatTargetVal = targetVal
225
+ if (refVal == Number(refVal) && targetVal == Number(targetVal)) {
226
+ formatRefVal = Number(refVal)
227
+ formatTargetVal = Number(targetVal)
228
+ }
229
+
222
230
  switch (condition.symbol) {
223
231
  case 1:
224
- let formatRefVal = refVal
225
- let formatTargetVal = targetVal
226
- if (refVal == Number(refVal) && targetVal == Number(targetVal)) {
227
- formatRefVal = Number(refVal)
228
- formatTargetVal = Number(targetVal)
229
- }
230
232
  return formatRefVal > formatTargetVal
231
233
  case 2:
232
- return refVal >= targetVal
234
+ return formatRefVal >= formatTargetVal
233
235
  case 3:
234
- return refVal < targetVal
236
+ return formatRefVal < formatTargetVal
235
237
  case 4:
236
- return refVal <= targetVal
238
+ return formatRefVal <= formatTargetVal
237
239
  case 5:
238
240
  return refVal == targetVal || (!targetVal && isArray(refVal) && !refVal.length)
239
241
  case 6: