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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fast-vue-multi-pages",
3
- "version": "1.0.3",
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-fastchar-appjs": "npm run buildLocal && npm publish"
12
+ "push-to-npm": "npm run buildLocal && npm publish"
13
13
  },
14
14
  "keywords": [
15
15
  "vue",
@@ -42,7 +42,8 @@ class FastVueMultiPages {
42
42
  if (options.globalConfig) {
43
43
  for (let globalConfigKey in options.globalConfig) {
44
44
  // @ts-ignore
45
- globalConfig[globalConfigKey] = options.globalConfig[globalConfigKey];
45
+ let value = options.globalConfig[globalConfigKey];
46
+ this.setGlobalConfig(globalConfigKey, value);
46
47
  }
47
48
  }
48
49
  const defineValue = {