resolver-egretimp-plus 0.1.104 → 0.1.106

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.1.104",
3
+ "version": "0.1.106",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -53,7 +53,7 @@ const isFilter = computed(() => {
53
53
  })
54
54
  const calcProps = computed(() => {
55
55
  const ret = {
56
- type: props?.config?.displayType,
56
+ type: isFilter.value ? 'normal' : props?.config?.displayType,
57
57
  title: lang.value?.indexOf('zh') > -1 ? props.config?.metaNameZh : props.config?.metaNameEn,
58
58
  canceltext: props?.config?.canceltext,
59
59
  confirmtext: props?.config?.confirmtext,
@@ -42,7 +42,14 @@ const props = defineProps({
42
42
  defineOptions({
43
43
  inheritAttrs: false
44
44
  })
45
+ const loadSelects = ref({})
45
46
  const attrs = useAttrs()
47
+ const allSelects = computed(() => {
48
+ return {
49
+ ...(props.selects || {}),
50
+ ...loadSelects.value
51
+ }
52
+ })
46
53
  initInterceptors(props.messageInstance)
47
54
  const { getPageConfig, pageConfig, selects } = useBuildInData({messageInstance: props.messageInstance, loadingInstance: props.loadingInstance, requestTraceId: props.requestTraceId})
48
55
  getPageConfig({
@@ -58,18 +65,16 @@ getPageConfig({
58
65
  },
59
66
  selectsCb: (selects) => {
60
67
  // 配置数据加载完成事件 'loadedConfigCompeted'
61
- Object.keys(selects || {}).forEach(key => {
62
- props.selects[key] = selects[key]
63
- })
64
- attrs?.onLoadedSelectsCompeted?.(props.selects)
68
+ // Object.keys(selects || {}).forEach(key => {
69
+ // props.selects[key] = selects[key]
70
+ // })
71
+ loadSelects.value = selects
72
+ attrs?.onLoadedSelectsCompeted?.(allSelects.value)
65
73
  },
66
74
  selectPolyReq: {
67
75
  ...(props.builtPolyfillReq || {}),
68
76
  }
69
77
  })
70
- const allSelects = computed(() => {
71
- return props.selects
72
- })
73
78
 
74
79
  const resolverRef = ref(null)
75
80
  defineExpose({
@@ -74,3 +74,9 @@
74
74
  .el-select-dropdown__item.is-selected {
75
75
  font-weight: 400;
76
76
  }
77
+
78
+ // 附件默认的设置,变为可选择
79
+ // 重复两个,提高选择权限
80
+ .el-select__selected-item.el-select__selected-item {
81
+ user-select: auto;
82
+ }