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.
- package/dist/index.js +3 -1
- 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
|
-
|
|
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
|
});
|