ecinc-cloud-mappaio 9.7.36 → 9.7.38

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/index.js CHANGED
@@ -30,6 +30,8 @@ import WfStatus from '../../ecmapp/WfStatus/index'
30
30
  import '../../common/directive/index'
31
31
  import '../../ecmapp/Directive/index'
32
32
 
33
+ import { Toast } from 'vant'
34
+
33
35
  const components = [app, auth, eventBus, user, Building, Basicform, DatetimeField, FileField, InputField, SelectField, SwitchField, TextareaField, IdeaField, DatetimeRange, DataTable, InnerTable, FooterButtonGroup, FloatButtonGroup, WV, SelectDialog, WfStatus, PopupDialog]
34
36
 
35
37
  // ---------- 重型组件异步全局注册清单(chunk 级按需加载) ----------
@@ -57,6 +59,9 @@ const install = function (Vue) {
57
59
  if (install.installed) return
58
60
  install.installed = true
59
61
 
62
+ // vant Toast 默认 z-index 为 2000,会低于 PopupDialog(van-popup) 自增的弹层层级,全局提高,避免弹层内提示被遮挡
63
+ Toast.setDefaultOptions({ zIndex: 9999 })
64
+
60
65
  // 1. 同步注册核心组件
61
66
  components.map((component) => {
62
67
  Vue.use(component)