dashboard
repositories
filestore
activity
search
login
刘文浩
/
gzDyh
forked from
gzzfw/frontEnd/gzDyh
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
style:高度
zhangyongtian
2024-09-12
2d2efba54e188738ca3dba9820df14f58221487f
[~liuwh/gzDyh.git]
/
gz-wxparty
/
components
/
vant
/
mixins
/
basic.js
1
2
3
4
5
6
7
8
9
10
11
export const basic = Behavior({
methods: {
$emit(name, detail, options) {
this.triggerEvent(name, detail, options);
},
set(data) {
this.setData(data);
return new Promise((resolve) => wx.nextTick(resolve));
},
},
});