fast-vue-multi-pages-vite 1.2.13 → 1.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1917,7 +1917,9 @@ var FastVueMultiLog = class FastVueMultiLog {
1917
1917
  */
1918
1918
  static add(content) {
1919
1919
  return update(FastVueMultiLog._SystemLogKey, (oldValue) => {
1920
- if (!oldValue) oldValue = [];
1920
+ let projectVersion = FastViteMultiConfig.getConfig("projectVersion");
1921
+ let buildTime = "Build" + FastViteMultiConfig.getConfig("buildTime");
1922
+ if (!oldValue) oldValue = [navigator.userAgent, projectVersion + " " + buildTime];
1921
1923
  oldValue.push(moment().format("YYYY-MM-DD HH:mm:ss") + "\n" + content);
1922
1924
  return oldValue;
1923
1925
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fast-vue-multi-pages-vite",
3
- "version": "1.2.13",
3
+ "version": "1.2.14",
4
4
  "author": "janesen",
5
5
  "description": "Vite-快速搭建VUE项目工具类的基本库,主要用于多个页面独立生成html",
6
6
  "main": "./dist/index.js",