You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 lines
259 B

import _extends from "babel-runtime/helpers/extends";
export default {
methods: {
setState: function setState(state, callback) {
_extends(this.$data, state);
this.$nextTick(function () {
callback && callback();
});
}
}
};