resolver-egretimp-plus 0.0.205 → 0.0.207

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.205",
3
+ "version": "0.0.207",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -78,6 +78,7 @@ export default {
78
78
  definePrivatelyProp(props.config, 'router', router)
79
79
  definePrivatelyProp(props.config, 'route', route)
80
80
  definePrivatelyProp(props.config, '_validate', validate)
81
+ definePrivatelyProp(props.config, '_rowScope', props.rowScope)
81
82
  // 当前组件的实例
82
83
  const instance = getCurrentInstance()
83
84
  const appContext = instance?.appContext
@@ -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