提交 51d5c9ff 编写于 作者: 张磊

修改 transition 宽度示例

上级 4b8ac5a9
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
methods: { methods: {
changeWidthOrHeight() { changeWidthOrHeight() {
this.widthOrHeight?.style?.setProperty("width", this.isTranstionWidthOrHeight this.widthOrHeight?.style?.setProperty("width", this.isTranstionWidthOrHeight
? '190px' ? '200px'
: '300px') : '300px')
this.isTranstionWidthOrHeight = !this.isTranstionWidthOrHeight this.isTranstionWidthOrHeight = !this.isTranstionWidthOrHeight
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册