dashboard
repositories
filestore
activity
search
login
刘文浩
/
gzDyh
forked from
gzzfw/frontEnd/gzDyh
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
小程序复制
liuwh
2024-08-22
e7e6c4618860aa0899ffb00c5eb892df1ac895eb
[~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));
},
},
});