mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
27 lines
595 B
JavaScript
27 lines
595 B
JavaScript
// @ts-nocheck
|
|
export const openType = Behavior({
|
|
properties: {
|
|
openType: String,
|
|
},
|
|
methods: {
|
|
bindGetUserInfo(event) {
|
|
this.$emit('getuserinfo', event.detail);
|
|
},
|
|
bindContact(event) {
|
|
this.$emit('contact', event.detail);
|
|
},
|
|
bindGetPhoneNumber(event) {
|
|
this.$emit('getphonenumber', event.detail);
|
|
},
|
|
bindError(event) {
|
|
this.$emit('error', event.detail);
|
|
},
|
|
bindLaunchApp(event) {
|
|
this.$emit('launchapp', event.detail);
|
|
},
|
|
bindOpenSetting(event) {
|
|
this.$emit('opensetting', event.detail);
|
|
},
|
|
},
|
|
});
|