diff --git a/CHANGELOG.zh_CN.md b/CHANGELOG.zh_CN.md
index f4301d8a..ef581e0c 100644
--- a/CHANGELOG.zh_CN.md
+++ b/CHANGELOG.zh_CN.md
@@ -1,5 +1,11 @@
## Wip
+### ✨ Refactor
+
+- `CountTo`组件重构
+
+### ✨ Features
+
- `radioButtonGroup` 支持`boolean`值
- `useModalInner` 新增 `redoModalHeight`用于在 Modal 内部重设`Modal`高度
- `useECharts` 新增`getInstance`用于获取`echart`实例
@@ -12,7 +18,7 @@
- `BasicTable`新增`updateTableDataRecord`方法用于更新指定行数据
- `useModal`新增`closeModal`方法用于关闭`Modal`
-## Bug Fixes
+### 🐛 Bug Fixes
- 修复`redoModalHeight`不能减小高度的问题
- 修复 `BasicForm`设置 schemas 数据不生效的问题
diff --git a/package.json b/package.json
index b2c36f42..676866ee 100644
--- a/package.json
+++ b/package.json
@@ -33,16 +33,16 @@
},
"dependencies": {
"@iconify/iconify": "^2.0.1",
- "@logicflow/core": "^0.4.11",
- "@logicflow/extension": "^0.4.12",
- "@vueuse/core": "^5.0.1",
+ "@logicflow/core": "^0.4.13",
+ "@logicflow/extension": "^0.4.13",
+ "@vueuse/core": "^5.0.2",
"@zxcvbn-ts/core": "^0.3.0",
"ant-design-vue": "2.1.2",
"axios": "^0.21.1",
"codemirror": "^5.61.1",
"cropperjs": "^1.5.11",
"crypto-js": "^4.0.0",
- "echarts": "^5.1.1",
+ "echarts": "^5.1.2",
"lodash-es": "^4.17.21",
"mockjs": "^1.1.0",
"nprogress": "^0.2.0",
@@ -115,13 +115,13 @@
"vite-plugin-compression": "^0.2.5",
"vite-plugin-html": "^2.0.7",
"vite-plugin-imagemin": "^0.3.2",
- "vite-plugin-mock": "^2.7.0",
+ "vite-plugin-mock": "^2.7.1",
"vite-plugin-purge-icons": "^0.7.0",
"vite-plugin-pwa": "^0.7.3",
"vite-plugin-style-import": "^0.10.1",
"vite-plugin-svg-icons": "^0.7.0",
"vite-plugin-theme": "^0.8.1",
- "vite-plugin-windicss": "^1.0.2",
+ "vite-plugin-windicss": "^1.0.3",
"vue-eslint-parser": "^7.6.0",
"vue-tsc": "^0.1.7"
},
diff --git a/src/components/ContextMenu/src/ContextMenu.vue b/src/components/ContextMenu/src/ContextMenu.vue
index da8ee554..54f6af56 100644
--- a/src/components/ContextMenu/src/ContextMenu.vue
+++ b/src/components/ContextMenu/src/ContextMenu.vue
@@ -71,7 +71,8 @@
});
onUnmounted(() => {
- unref(wrapRef) && document.body.removeChild(el);
+ const el = unref(wrapRef);
+ el && document.body.removeChild(el);
});
function handleAction(item: ContextMenuItem, e: MouseEvent) {
@@ -118,8 +119,10 @@
});
}
return () => {
+ if (!unref(showRef)) {
+ return null;
+ }
const { items } = props;
- if (!unref(showRef)) return null;
return (