mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 05:29:01 +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()
|
|
})
|
|
},
|
|
},
|
|
}
|