UNPKG
x-antd-vue
Version:
latest (1.0.1)
1.0.1
1.0.0
base on antd 1.7.2
www.antdv.com
xd-mike/x-antd
x-antd-vue
/
es
/
_util
/
StateMixin.js
11 lines
•
259 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
_extends
from
"babel-runtime/helpers/extends"
;
export
default
{
methods
: {
setState
:
function
setState
(
state, callback
) {
_extends
(
this
.
$data
, state);
this
.$nextTick(
function
(
) { callback &&
callback
(); }); } } };