resolver-egretimp-plus 0.0.35 → 0.0.37

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.35",
3
+ "version": "0.0.37",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -48,18 +48,20 @@ function getReqData(inParamMappingList = [], {dynamicMapComp, dynamicMapCompKeys
48
48
  console.error('search arg muti', params, configCodes)
49
49
  }
50
50
  const configCode = configCodes[0]
51
- const destParamArr = destParam?.split('.') || []
52
- let currentObj = ret
53
- destParamArr.forEach((item, idx) => {
54
- if (idx + 1 === destParamArr.length) {
55
- currentObj[item] = dynamicMapComp[configCode]?.refValue
56
- } else {
57
- if (!currentObj[item]) {
58
- currentObj[item] = {}
51
+ if (configCode) {
52
+ const destParamArr = destParam?.split('.') || []
53
+ let currentObj = ret
54
+ destParamArr.forEach((item, idx) => {
55
+ if (idx + 1 === destParamArr.length) {
56
+ currentObj[item] = dynamicMapComp[configCode]?.refValue
57
+ } else {
58
+ if (!currentObj[item]) {
59
+ currentObj[item] = {}
60
+ }
61
+ currentObj = currentObj[item]
59
62
  }
60
- currentObj = currentObj[item]
61
- }
62
- })
63
+ })
64
+ }
63
65
  return ret
64
66
  }, {})
65
67
  }
@@ -94,9 +96,11 @@ export function getTableConfig(outParamMappingList = [], { dynamicMapComp, dynam
94
96
  console.error('search arg muti', params, configCodes)
95
97
  }
96
98
  const configCode = configCodes[0]
97
- const compConfig = dynamicMapComp[configCode]
98
- if (compConfig.metaType === 'CustomComponentTable') {
99
- return compConfig
99
+ if (configCode) {
100
+ const compConfig = dynamicMapComp[configCode]
101
+ if (compConfig.metaType === 'CustomComponentTable') {
102
+ return compConfig
103
+ }
100
104
  }
101
105
  }
102
106
  }
@@ -193,6 +193,7 @@ const Tabs = defineComponent({
193
193
  return (
194
194
  <div
195
195
  class={[
196
+ 'resolver-tabs',
196
197
  ns.b(),
197
198
  ns.m(props.tabPosition),
198
199
  {
@@ -47,7 +47,7 @@ export function useBuildInData(messageTipInstance, loadingInstance) {
47
47
  loadingInstance.show()
48
48
  }
49
49
  buildInRequest(QUERY_PAGE_CONFIG_DATA, reqData).then(ret => {
50
- if (resultToast(ret.data, messageTipInstance)) {
50
+ if (resultToast(ret.data, messageTipInstance, { noSuccessIip: true })) {
51
51
  // pageConfig.value = normalPageConfigs(mock)
52
52
  pageConfig.value = normalPageConfigs(ret.data.result)
53
53
  cb(pageConfig.value)
@@ -1,4 +1,8 @@
1
1
 
2
+ .resolver-tabs {
3
+ // 这个是渲染器里面tabs
4
+ display: block;
5
+ }
2
6
  .el-tabs {
3
7
  // display: block;
4
8
  border-radius: 4px;