diff --git a/package.json b/package.json
index 883817a6..5260eace 100644
--- a/package.json
+++ b/package.json
@@ -57,7 +57,7 @@
"@better-scroll/core": "^2.4.2",
"@soybeanjs/vue-admin-layout": "^1.1.1",
"@soybeanjs/vue-admin-tab": "^1.0.5",
- "@vueuse/core": "^9.1.1",
+ "@vueuse/core": "^9.2.0",
"axios": "^0.27.2",
"clipboard": "^2.0.11",
"colord": "^2.9.3",
@@ -67,13 +67,13 @@
"form-data": "^4.0.0",
"lodash-es": "^4.17.21",
"naive-ui": "2.33.2",
- "pinia": "^2.0.21",
+ "pinia": "^2.0.22",
"print-js": "^1.6.0",
"qs": "^6.11.0",
"swiper": "^8.3.2",
"ua-parser-js": "^1.0.2",
"vditor": "^3.8.17",
- "vue": "3.2.38",
+ "vue": "3.2.39",
"vue-router": "^4.1.5",
"wangeditor": "^4.7.15",
"xgplayer": "^2.32.0"
@@ -82,44 +82,44 @@
"@amap/amap-jsapi-types": "^0.0.8",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
- "@iconify/json": "^2.1.102",
- "@iconify/vue": "^3.2.1",
+ "@iconify/json": "^2.1.106",
+ "@iconify/vue": "^4.0.0",
"@milahu/patch-package": "^6.4.14",
"@types/bmapgl": "^0.0.5",
"@types/crypto-js": "^4.1.1",
- "@types/node": "^18.7.14",
+ "@types/node": "^18.7.16",
"@types/qs": "^6.9.7",
"@types/ua-parser-js": "^0.7.36",
- "@unocss/preset-uno": "^0.45.15",
- "@unocss/vite": "^0.45.15",
- "@vitejs/plugin-vue": "^3.0.3",
+ "@unocss/preset-uno": "^0.45.21",
+ "@unocss/vite": "^0.45.21",
+ "@vitejs/plugin-vue": "^3.1.0",
"@vitejs/plugin-vue-jsx": "^2.0.1",
"commitizen": "^4.2.5",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^7.0.0",
- "eslint": "^8.23.0",
+ "eslint": "^8.23.1",
"eslint-config-soybeanjs-vue": "^0.0.10",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"mockjs": "^1.1.0",
"postinstall-postinstall": "^2.1.0",
"rollup-plugin-visualizer": "^5.8.1",
- "sass": "^1.54.8",
+ "sass": "^1.54.9",
"standard-version": "^9.5.0",
- "typescript": "4.8.2",
+ "typescript": "4.8.3",
"unplugin-icons": "^0.14.9",
- "unplugin-vue-components": "0.22.4",
- "unplugin-vue-define-options": "^0.11.1",
+ "unplugin-vue-components": "0.22.7",
+ "unplugin-vue-define-options": "^0.11.2",
"utility-types": "^3.10.0",
- "vite": "^3.0.9",
+ "vite": "^3.1.0",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-html": "^3.2.0",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-progress": "^0.0.3",
- "vite-plugin-pwa": "^0.12.6",
+ "vite-plugin-pwa": "^0.12.7",
"vite-plugin-svg-icons": "^2.0.1",
- "vue-tsc": "^0.40.6"
+ "vue-tsc": "^0.40.13"
},
"lint-staged": {
"*.{vue,js,jsx,ts,tsx,json}": "eslint --fix"
diff --git a/src/composables/echarts.ts b/src/composables/echarts.ts
index 8bbd4490..7aeaf620 100644
--- a/src/composables/echarts.ts
+++ b/src/composables/echarts.ts
@@ -130,9 +130,9 @@ export function useEcharts(
const stopSizeWatch = watch([width, height], ([newWidth, newHeight]) => {
initialSize.width = newWidth;
initialSize.height = newHeight;
- if (newWidth === 0 && newHeight === 0) {
+ if (newWidth === 0 && newHeight === 0) {
// 节点被删除 将chart置为空
- chart = null
+ chart = null;
}
if (canRender()) {
if (!isRendered()) {
diff --git a/src/views/document/vite/index.vue b/src/views/document/vite/index.vue
index b6d902fb..abd95b4a 100644
--- a/src/views/document/vite/index.vue
+++ b/src/views/document/vite/index.vue
@@ -5,7 +5,7 @@