Files
UNION_NJUST/target/classes/views/mobile/welfare/include/mixins.js
T
2026-09-23 09:38:39 +08:00

24 lines
731 B
JavaScript

const welfareMixins = {
data() {
return {
tarBarActive: '',
addressList: [],
isReceive: false,
isChoice: 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
}
}
}