resolver-egretimp-plus 0.0.113 → 0.0.115

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.113",
3
+ "version": "0.0.115",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -61,7 +61,8 @@ const initSelEmployee = async () => {
61
61
  return dataLoad.value
62
62
  }, async (val) => {
63
63
  if (!val) return
64
- await nextTick()
64
+ await seelp(200)
65
+ console('select-employees modelValue:', modelValue.value)
65
66
  const data = modelValue.value ? modelValue.value.split(',') : []
66
67
  const initParams = {
67
68
  el: `#${metaCode.value}`,
@@ -94,6 +95,13 @@ const initSelEmployee = async () => {
94
95
  })
95
96
  }
96
97
 
98
+ function seelp(time) {
99
+ return new Promise((resolve) => {
100
+ setTimeout(() => {
101
+ resolve(true)
102
+ }, time);
103
+ })
104
+ }
97
105
  onMounted(() => {
98
106
  initSelEmployee()
99
107
  })