dashboard
repositories
filestore
activity
search
login
gzdyh
/
small_program
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
feature:市平台小程序
xusd
7 days ago
998218675eb243d43912c203174a6b72b299c0f8
[gzdyh/small_program.git]
/
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));
},
},
});