From 3d1aa105a9149b473ecaf67f8f1627cd2527d083 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 23 Sep 2026 17:42:58 +0800 Subject: [PATCH] =?utf8?q?fix:=20ElMessage.info=20=E7=AC=AC=E4=BA=8C?= =?utf8?q?=E5=8F=82=E6=95=B0=E8=A2=AB=E5=BD=93=E4=BD=9C=20appContext=20?= =?utf8?q?=E5=AF=BC=E8=87=B4=E5=B4=A9=E6=BA=83=EF=BC=9B=E7=A7=BB=E9=99=A4?= =?utf8?q?=20playwright=20=E6=B5=8B=E8=AF=95=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- package-lock.json | 48 ----------------------------------------------- package.json | 1 - src-vue/Home.vue | 2 +- 3 files changed, 1 insertion(+), 50 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5668385..249a5c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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": { @@ -1487,53 +1486,6 @@ "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", diff --git a/package.json b/package.json index a042d03..512dc5b 100644 --- a/package.json +++ b/package.json @@ -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" } } diff --git a/src-vue/Home.vue b/src-vue/Home.vue index 1e30251..77bffcb 100644 --- a/src-vue/Home.vue +++ b/src-vue/Home.vue @@ -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 ---- -- 2.43.0