diff --git a/CHANGELOG.md b/CHANGELOG.md index 8572d9ddd..866374a4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ toc: false docClass: timeline --- +## 🌈 1.9.7 `2024-06-28` +### 🐞 Bug Fixes +- `Dialog`: 修复 `Dialog` 组件在 `SSR` 环境下的使用问题 @qqw78901 ([#3219](https://github.com/Tencent/tdesign-vue/pull/3219)) + ## 🌈 1.9.6 `2024-06-26` ### 🐞 Bug Fixes - `Tree`: 修复 `1.9.5` 版本使用拖拽功能的报错问题 @uyarn ([#3212](https://github.com/Tencent/tdesign-vue/pull/3212)) diff --git a/package.json b/package.json index 57b4a9d46..a78d3b4ec 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "tdesign-vue", "purename": "tdesign", - "version": "1.9.6-naruto", + "version": "1.9.7-naruto", "description": "tdesign-vue", "title": "tdesign-vue", "keywords": [ diff --git a/site/src/components/stackblitz/content.js b/site/src/components/stackblitz/content.js index d9acbade5..d38cc0a4d 100644 --- a/site/src/components/stackblitz/content.js +++ b/site/src/components/stackblitz/content.js @@ -46,9 +46,9 @@ export const styleContent = ` `; export const stackblitzRc = ` - { - "installDependencies": false, - "startCommand": "turbo && turbo dev" + { + "installDependencies": true, + "startCommand": "npm run dev" } `; diff --git a/src/dialog/dialog.tsx b/src/dialog/dialog.tsx index 4b196d11b..c25977318 100644 --- a/src/dialog/dialog.tsx +++ b/src/dialog/dialog.tsx @@ -149,6 +149,7 @@ export default mixins(ActionMixin, getConfigReceiverMixins('d watch: { visible: { handler(value) { + if (typeof window === 'undefined') return; if (value) { this.animationEnd = false; if ((this.isModal && !this.showInAttachedElement) || this.isFullScreen) {