mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-15 09:21:25 +08:00
11 lines
185 B
JavaScript
11 lines
185 B
JavaScript
export default {
|
|
methods: {
|
|
setState (state, callback) {
|
|
Object.assign(this.$data, state)
|
|
this.$nextTick(() => {
|
|
callback && callback()
|
|
})
|
|
},
|
|
},
|
|
}
|