forked from gzzfw/frontEnd/gzDyh

dminyi
2024-08-16 e4a96c9f1d07f283c0205f8306ccdf892bddf9e8
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));
        },
    },
});