Browse Source

添加级联多选插件

haojianlong 5 years ago
parent
commit
7440e4f0ab
2 changed files with 10 additions and 6 deletions
  1. 7 6
      package.json
  2. 3 0
      src/main.js

+ 7 - 6
package.json

@@ -19,8 +19,14 @@
     "publish": "node publish.js"
   },
   "dependencies": {
+    "@saga-web/base": "2.1.9",
+    "@saga-web/cad-engine": "2.0.523",
+    "@saga-web/draw": "2.1.72",
+    "@saga-web/graphy": "2.1.34",
     "axios": "^0.18.0",
+    "cad-engine": "2.0.250",
     "echarts": "^4.1.0",
+    "el-cascader-multi": "^1.1.8",
     "element-ui": "^2.11.0",
     "font-awesome": "^4.7.0",
     "handsontable-pro": "^3.0.0",
@@ -28,12 +34,7 @@
     "vue": "^2.5.2",
     "vue-axios": "^2.1.4",
     "vue-router": "^3.0.1",
-    "vuex": "^3.1.0",
-    "cad-engine": "2.0.250",
-    "@saga-web/base": "2.1.9",
-    "@saga-web/draw": "2.1.72",
-    "@saga-web/graphy": "2.1.34",
-    "@saga-web/cad-engine": "2.0.523"
+    "vuex": "^3.1.0"
   },
   "devDependencies": {
     "ajv": "^6.9.1",

+ 3 - 0
src/main.js

@@ -23,6 +23,9 @@ import './utils/scan/directive' //自定义指令
 import componentsPlugin from '@/framework/plugins/components'
 Vue.use(componentsPlugin)
 
+import elCascaderMulti from "el-cascader-multi";
+Vue.use(elCascaderMulti); //级联多选
+
 Vue.config.productionTip = false
 Vue.config.devtools = true;
 /* eslint-disable no-new */