mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-18 00:45:55 +08:00
智慧宿舍系统小程序
This commit is contained in:
14
wechat/miniprogram/node_modules/@vant/weapp/dist/share-sheet/options.js
generated
vendored
Normal file
14
wechat/miniprogram/node_modules/@vant/weapp/dist/share-sheet/options.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import { VantComponent } from '../common/component';
|
||||
VantComponent({
|
||||
props: {
|
||||
options: Array,
|
||||
showBorder: Boolean,
|
||||
},
|
||||
methods: {
|
||||
onSelect(event) {
|
||||
const { index } = event.currentTarget.dataset;
|
||||
const option = this.data.options[index];
|
||||
this.$emit('select', Object.assign(Object.assign({}, option), { index }));
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user