]> acesimba.cloud Git - StationBuilder-vue.git/commitdiff
fix: ElMessage.info 第二参数被当作 appContext 导致崩溃;移除 playwright 测试依赖
authorroot <root@localhost.localdomain>
Wed, 23 Sep 2026 09:42:58 +0000 (17:42 +0800)
committerroot <root@localhost.localdomain>
Wed, 23 Sep 2026 09:42:58 +0000 (17:42 +0800)
package-lock.json
package.json
src-vue/Home.vue

index 5668385ae3a842e12b75a411e01704f324d4d392..249a5c4573290a6ec59dcc880709c24b6bbbaa3d 100644 (file)
@@ -18,7 +18,6 @@
         "@types/node": "22.19.19",
         "@vitejs/plugin-vue": "^6.0.9",
         "less": "^4.9.1",
-        "playwright": "^1.48.0",
         "vite": "8.0.13"
       },
       "engines": {
         "url": "https://github.com/sponsors/jonschlinkert"
       }
     },
-    "node_modules/playwright": {
-      "version": "1.48.0",
-      "resolved": "http://mirrors.tencent.com/npm/playwright/-/playwright-1.48.0.tgz",
-      "integrity": "sha512-qPqFaMEHuY/ug8o0uteYJSRfMGFikhUysk8ZvAtfKmUK3kc/6oNl/y3EczF8OFGYIi/Ex2HspMfzYArk6+XQSA==",
-      "dev": true,
-      "license": "Apache-2.0",
-      "dependencies": {
-        "playwright-core": "1.48.0"
-      },
-      "bin": {
-        "playwright": "cli.js"
-      },
-      "engines": {
-        "node": ">=18"
-      },
-      "optionalDependencies": {
-        "fsevents": "2.3.2"
-      }
-    },
-    "node_modules/playwright-core": {
-      "version": "1.48.0",
-      "resolved": "http://mirrors.tencent.com/npm/playwright-core/-/playwright-core-1.48.0.tgz",
-      "integrity": "sha512-RBvzjM9rdpP7UUFrQzRwR8L/xR4HyC1QXMzGYTbf1vjw25/ya9NRAVnXi/0fvFopjebvyPzsmoK58xxeEOaVvA==",
-      "dev": true,
-      "license": "Apache-2.0",
-      "bin": {
-        "playwright-core": "cli.js"
-      },
-      "engines": {
-        "node": ">=18"
-      }
-    },
-    "node_modules/playwright/node_modules/fsevents": {
-      "version": "2.3.2",
-      "resolved": "http://mirrors.tencent.com/npm/fsevents/-/fsevents-2.3.2.tgz",
-      "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
-      "dev": true,
-      "hasInstallScript": true,
-      "license": "MIT",
-      "optional": true,
-      "os": [
-        "darwin"
-      ],
-      "engines": {
-        "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
-      }
-    },
     "node_modules/pngjs": {
       "version": "5.0.0",
       "resolved": "http://mirrors.tencent.com/npm/pngjs/-/pngjs-5.0.0.tgz",
index a042d038ff0c064a366e177c05f53ebb3d773e19..512dc5becd564c54177d46b4c4a5be6f10d6e4ae 100644 (file)
@@ -22,7 +22,6 @@
     "@types/node": "22.19.19",
     "@vitejs/plugin-vue": "^6.0.9",
     "less": "^4.9.1",
-    "playwright": "^1.48.0",
     "vite": "8.0.13"
   }
 }
index 1e302512082f8361b0f6976fc3e33a914db92f56..77bffcb41cf6f4ae22a7a79cc1a8c7eda8296ba3 100644 (file)
@@ -53,7 +53,7 @@ import { meta, SITE_EDIT_STEPS, MODELS } from "./lib/meta.js";
 // setup binding instead.
 const win = window;
 
-const notify = (m) => { ElMessage.info(m, 2.2); };
+const notify = (m) => { try { console.log("NOTIFY_STACK " + (new Error("notify: " + m)).stack); } catch (e) {} ElMessage.info(m); };
 const confirm = (msg) => Promise.resolve(window.confirm(msg));
 
 // ---- state ----