fast-vue-multi-pages 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/vue/FastVueMultiPages.js +2 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "fast-vue-multi-pages",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.4",
|
4
4
|
"author": "janesen",
|
5
5
|
"description": "快速搭建VUE项目工具类的基本库,主要用于每个功能页面独立生成html",
|
6
6
|
"main": "./dist/cjs/index.js",
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"tsc": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && tsc -p ./src/vue/tsconfig-cjs.json && tsc -p ./src/loader/tsconfig-cjs.json",
|
10
10
|
"login": "npm login",
|
11
11
|
"buildLocal": "npm run tsc",
|
12
|
-
"push-
|
12
|
+
"push-to-npm": "npm run buildLocal && npm publish"
|
13
13
|
},
|
14
14
|
"keywords": [
|
15
15
|
"vue",
|
package/vue/FastVueMultiPages.js
CHANGED
@@ -42,7 +42,8 @@ class FastVueMultiPages {
|
|
42
42
|
if (options.globalConfig) {
|
43
43
|
for (let globalConfigKey in options.globalConfig) {
|
44
44
|
// @ts-ignore
|
45
|
-
|
45
|
+
let value = options.globalConfig[globalConfigKey];
|
46
|
+
this.setGlobalConfig(globalConfigKey, value);
|
46
47
|
}
|
47
48
|
}
|
48
49
|
const defineValue = {
|