1.0.0 • Published 4 years ago

dhc-ui v1.0.0

Weekly downloads
3
License
ISC
Repository
-
Last release
4 years ago

一、使用该公用组件注意事项 1、main.js 文件中 import '@/dhcUi/main' 2、store/index.js 文件中 import table from '@/dhcUi/store/modules/table',并且在 modules 中导入 table 模块 3、在 permission.js 文件中可以选择性引入,三个分别为码表、多级码表、行政区划 if (store.getters.dictionaryOptions.length === 0) { store.dispatch("getDictionaryAll") } if (store.getters.dictionaryTree.length === 0) { store.dispatch("getDictionaryTree"); } if (store.getters.departmentTree.length === 0) { store.dispatch("getDepartmentTree"); }