mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-30 11:08:00 +08:00
fix: dynamically setting src error
This commit is contained in:
parent
d970f47b35
commit
7d8068be5e
@ -30,6 +30,12 @@ export default {
|
||||
scale: 1,
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
src() {
|
||||
this.isImgExist = true;
|
||||
this.scale = 1;
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.prevChildren = this.$slots.default;
|
||||
this.prevState = { ...this.$data };
|
||||
|
Loading…
Reference in New Issue
Block a user