Files
UNION_HUTB/target/classes/views/mobile/welfare/include/mixins.js
T
2026-09-09 09:14:28 +08:00

30 lines
956 B
JavaScript

const welfareMixins = {
data() {
return {
tarBarActive: '',
addressList: [],
isReceive: false,
isChoice: false,
isAutoSelect: false
}
},
methods: {
async selectAddressList() {
const resp = await $.get('/mobile/welfare/mine/selectUserAddress')
this.addressList = resp.data
},
async getReceive() {
const resp = await $.get('/mobile/welfare/mine/isReceive', {projectId: this.projectId})
// this.isReceive = resp.data
},
async getChoice() {
const resp = await $.get('/mobile/welfare/mine/isChoice', {projectId: this.projectId})
this.isChoice = resp.data
},
async getAutoSelect() {
const resp = await $.get('/mobile/welfare/mine/isAutoSelect', {projectId: this.projectId})
this.isAutoSelect = resp.data
}
}
}