Skip to content

Commit 400c2aa

Browse files
uyarnqqw78901github-actions[bot]
authored
chore: release 1.9.7-naruto (#3221)
* fix: fix stackblitz demo run (#3215) * fix: dialog ssr (#3219) * chore: release 1.9.7 (#3220) * chore: release 1.9.7 * chore: changelog's changes --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: Zuo <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 5c621ca commit 400c2aa

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ toc: false
55
docClass: timeline
66
---
77

8+
## 🌈 1.9.7 `2024-06-28`
9+
### 🐞 Bug Fixes
10+
- `Dialog`: 修复 `Dialog` 组件在 `SSR` 环境下的使用问题 @qqw78901 ([#3219](https://github.com/Tencent/tdesign-vue/pull/3219))
11+
812
## 🌈 1.9.6 `2024-06-26`
913
### 🐞 Bug Fixes
1014
- `Tree`: 修复 `1.9.5` 版本使用拖拽功能的报错问题 @uyarn ([#3212](https://github.com/Tencent/tdesign-vue/pull/3212))

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "tdesign-vue",
33
"purename": "tdesign",
4-
"version": "1.9.6-naruto",
4+
"version": "1.9.7-naruto",
55
"description": "tdesign-vue",
66
"title": "tdesign-vue",
77
"keywords": [

site/src/components/stackblitz/content.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ export const styleContent = `
4646
`;
4747

4848
export const stackblitzRc = `
49-
{
50-
"installDependencies": false,
51-
"startCommand": "turbo && turbo dev"
49+
{
50+
"installDependencies": true,
51+
"startCommand": "npm run dev"
5252
}
5353
`;
5454

src/dialog/dialog.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ export default mixins(ActionMixin, getConfigReceiverMixins<Vue, DialogConfig>('d
149149
watch: {
150150
visible: {
151151
handler(value) {
152+
if (typeof window === 'undefined') return;
152153
if (value) {
153154
this.animationEnd = false;
154155
if ((this.isModal && !this.showInAttachedElement) || this.isFullScreen) {

0 commit comments

Comments
 (0)