This commit is contained in:
chuzhixin 2020-11-07 08:05:30 +08:00
parent fbb4ed049c
commit 89c67f3689
3 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,8 @@
"lint:style": "stylelint-config-prettier-check", "lint:style": "stylelint-config-prettier-check",
"inspect": "vue-cli-service inspect", "inspect": "vue-cli-service inspect",
"template": "plop", "template": "plop",
"clear": "rimraf node_modules&&npm install --registry=https://registry.npm.taobao.org&&cnpm i image-webpack-loader -D", "clear": "rimraf node_modules&&npm install --registry=https://registry.npm.taobao.org",
"image-webpack-loader": "cnpm i image-webpack-loader -D",
"use:npm": "nrm use npm", "use:npm": "nrm use npm",
"use:taobao": "nrm use taobao", "use:taobao": "nrm use taobao",
"update": "ncu -u&&cnpm i", "update": "ncu -u&&cnpm i",
@ -53,13 +54,13 @@
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"qs": "^6.9.4", "qs": "^6.9.4",
"screenfull": "^5.0.2", "screenfull": "^5.0.2",
"vab-icon": "^0.0.1",
"vue": "^2.6.12", "vue": "^2.6.12",
"vue-echarts": "^5.0.0-beta.0", "vue-echarts": "^5.0.0-beta.0",
"vue-router": "^3.4.9", "vue-router": "^3.4.9",
"vuex": "^3.5.1", "vuex": "^3.5.1",
"zx-comparison": "^1.0.3", "zx-comparison": "^1.0.3",
"zx-count": "^0.3.7", "zx-count": "^0.3.7",
"zx-icon": "^1.1.13",
"zx-layouts": "^0.6.21", "zx-layouts": "^0.6.21",
"zx-magnifie": "^0.4.0", "zx-magnifie": "^0.4.0",
"zx-markdown-editor": "^0.0.2", "zx-markdown-editor": "^0.0.2",

View File

@ -16,6 +16,5 @@ if (!!window.ActiveXObject || 'ActiveXObject' in window) {
dangerouslyUseHTMLString: true, dangerouslyUseHTMLString: true,
}) })
} }
if (!dependencies['zx-icon'] || !dependencies['zx-layouts']) { if (!dependencies['vab-icon'] || !dependencies['zx-layouts'])
document.body.innerHTML = '' document.body.innerHTML = ''
}

View File

@ -1,4 +1,4 @@
import Vue from 'vue' import Vue from 'vue'
import VabIcon from 'zx-icon' import VabIcon from 'vab-icon'
Vue.component('VabIcon', VabIcon) Vue.component('VabIcon', VabIcon)