请求配置更改

This commit is contained in:
李志鹏
2026-04-24 13:31:45 +08:00
parent 136c24ce30
commit 071930f257
2 changed files with 34 additions and 9 deletions

View File

@@ -1215,6 +1215,7 @@ export default defineComponent({
let payOrder = this.$refs.payOrder
payOrder.init(orderId)
}
this.getCheckSellerDesigner()
},
methods: {
setTask(data) {
@@ -1378,7 +1379,21 @@ export default defineComponent({
this.store.commit('set_dataLoading', false)
})
},
//获取是否为卖家
getCheckSellerDesigner() {
const config = {
params: {
userId: this.userDetail.userId
}
}
Https.axiosGet(Https.httpUrls.checkSellerDesigner, config).then(rv => {
if (rv) {
console.log(rv)
return rv
}
return null
})
},
setLocale(v) {
// 同步更新 localStorage 中的 loginLanguage
if (v) {