forked from gzzfw/frontEnd/gzDyh

dminyi
2024-08-23 18d04493c51af43e85a3f2b2ec49b876df1d090a
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));
        },
    },
});