This commit is contained in:
liuye
2024-08-27 10:10:16 +08:00
parent fe0024e748
commit 74a4a8f563

View File

@@ -368,6 +368,7 @@ export default {
}, },
getAiTypeList() { getAiTypeList() {
this.$instance.post(`/app/appaiconfiginfo/list?status=1`).then(res => { this.$instance.post(`/app/appaiconfiginfo/list?status=1`).then(res => {
console.log(1)
if(res?.code == 0) { if(res?.code == 0) {
res.data.records.map((item) => { res.data.records.map((item) => {
item.dictName = item.appName item.dictName = item.appName
@@ -383,8 +384,12 @@ export default {
} }
// this.getHistoryList() // this.getHistoryList()
}else{ }else{
console.log(2)
this.$store.commit('logout', true) this.$store.commit('logout', true)
} }
}).catch((err) => {
console.log(3)
this.$store.commit('logout', true)
}) })
}, },
getLocation() { getLocation() {