resolver-egretimp-plus 0.0.204 → 0.0.206

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.204",
3
+ "version": "0.0.206",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -138,9 +138,14 @@ export default {
138
138
  ruleExecuter.penddingRules[hireRelat] = null
139
139
  }
140
140
  if (props.config?.immediateClickEvent) {
141
- setTimeout(() => {
142
- executeClickEvents()
143
- }, 0);
141
+ const unWatch = watch(dataLoad, (val) => {
142
+ if (val) {
143
+ setTimeout(() => {
144
+ executeClickEvents()
145
+ }, 0);
146
+ unWatch && unWatch()
147
+ }
148
+ })
144
149
  }
145
150
  // 使用json-rules-engine书写的规则,打开这边,需要对之前的规则进行注释,并且需要再index.js文件中进行开启 ====end====
146
151
  }
@@ -12,7 +12,11 @@ export default {
12
12
  inheritAttrs: false,
13
13
  props: {
14
14
  ...commonPropsType,
15
- ...ElInput.props
15
+ ...ElInput.props,
16
+ textAreaCnt: {
17
+ type: [Number, String],
18
+ default: 2,
19
+ }
16
20
  },
17
21
  emits: ['update:modelValue'],
18
22
  setup(props, { emit, attrs, expose }) {
@@ -30,6 +34,9 @@ export default {
30
34
  if (props.config?.maxLength) {
31
35
  ret.maxlength = parseInt(props.config.maxLength)
32
36
  }
37
+ if (props.textAreaCnt) {
38
+ ret.rows = parseInt(props.textAreaCnt)
39
+ }
33
40
  return ret
34
41
  })
35
42
  const normalInputProps = computed(() => {
@@ -346,7 +346,8 @@ export function getConfigOptions(config, selects) {
346
346
  optionItemsList = []
347
347
  }
348
348
  const options = (selects?.value && selects?.value?.[selectKey]) || (selects?.value && selects?.value?.[`${config.metaCode}ListValue`]) || (selects?.value && selects?.value?.[referenceOptions]) || optionItemsList || []
349
- return options
349
+ const priOptions = config?.priOptions
350
+ return priOptions || options
350
351
  // const disabled = calcDisable(config, props.mode)
351
352
  // if (disabled) {
352
353
  // return options