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