diff --git a/package.json b/package.json index 36c2e3348..49a72a0b9 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "nprogress": "~1.0.0-1", "pinia": "~2.1.7", "qiniu-js": "^3.4.2", - "qs": "~6.11.2", + "qs": "~6.12.0", "sortablejs": "~1.15.2", "tinymce": "^6.8.3", "vue": "~3.4.21", diff --git a/packages/vite-plugin-msw/src/browser/enableMocking.ts b/packages/vite-plugin-msw/src/browser/enableMocking.ts index 615f76c1e..70edebfa3 100644 --- a/packages/vite-plugin-msw/src/browser/enableMocking.ts +++ b/packages/vite-plugin-msw/src/browser/enableMocking.ts @@ -29,7 +29,9 @@ export const enableMocking = async (handlers: HttpHandler[], options?: StartOpti ); const worker = setupWorker(...handlers); - globalThis.__msw_worker = worker; + if (import.meta.env.DEV) { + globalThis.__msw_worker = worker; + } const serviceWorkerRegistration = await worker.start({ onUnhandledRequest: 'bypass', diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 98bb73dad..d15886745 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -51,8 +51,8 @@ importers: specifier: ^3.4.2 version: 3.4.2 qs: - specifier: ~6.11.2 - version: 6.11.2 + specifier: ~6.12.0 + version: 6.12.0 sortablejs: specifier: ~1.15.2 version: 1.15.2 @@ -9063,11 +9063,11 @@ packages: spark-md5: 3.0.2 dev: false - /qs@6.11.2: - resolution: {integrity: sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==} + /qs@6.12.0: + resolution: {integrity: sha512-trVZiI6RMOkO476zLGaBIzszOdFPnCCXHPG9kn0yuS1uz6xdVxPfZdB3vUig9pxPFDM9BRAgz/YUIVQ1/vuiUg==} engines: {node: '>=0.6'} dependencies: - side-channel: 1.0.5 + side-channel: 1.0.6 dev: false /query-string@4.3.4: @@ -9586,6 +9586,17 @@ packages: es-errors: 1.3.0 get-intrinsic: 1.2.4 object-inspect: 1.13.1 + dev: true + + /side-channel@1.0.6: + resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.7 + es-errors: 1.3.0 + get-intrinsic: 1.2.4 + object-inspect: 1.13.1 + dev: false /signal-exit@3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} diff --git a/src/components/basic/icon/Icon.vue b/src/components/basic/icon/Icon.vue index 7a4f18df2..f7338c10c 100644 --- a/src/components/basic/icon/Icon.vue +++ b/src/components/basic/icon/Icon.vue @@ -32,7 +32,6 @@ const handleIconUpdated = (vnode: VNode) => { const title = attrs.title; if (vnode.el && title) { - globalThis.sss = vnode.el; vnode.el.insertAdjacentHTML?.('afterbegin', `${title}`); } }; diff --git a/src/components/core/dynamic-table/src/components/table-action.vue b/src/components/core/dynamic-table/src/components/table-action.vue index ea74f0c41..857e31a6b 100644 --- a/src/components/core/dynamic-table/src/components/table-action.vue +++ b/src/components/core/dynamic-table/src/components/table-action.vue @@ -16,7 +16,7 @@