vue2-client 1.8.38 → 1.8.39

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/CHANGELOG.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Change Log
2
2
  > 所有关于本项目的变化都在该文档里。
3
3
 
4
- **1.8.37 -2024-1-30 @江超**
4
+ **1.8.37 - 1.8.39 -2024-1-30 @江超**
5
5
  - 开发环境增加水印
6
6
 
7
7
  **1.8.36 -2024-1-25 @江超**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.8.38",
3
+ "version": "1.8.39",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
package/src/App.vue CHANGED
@@ -28,7 +28,7 @@ export default {
28
28
  this.setWeekModeTheme(this.weekMode)
29
29
  const configStr = localStorage.getItem(process.env.VUE_APP_WEB_CONFIG_KEY)
30
30
  if (configStr) {
31
- const config = JSON.parse()
31
+ const config = JSON.parse(configStr)
32
32
  if (config.$globalProp.environment === 'dev') {
33
33
  // 设置水印
34
34
  createWaterMark('开发环境')