admin revoke

This commit is contained in:
commie
2026-01-12 18:07:21 +08:00
parent e39c06526d
commit dd16348558
13 changed files with 123 additions and 60 deletions
+3 -3
View File
@@ -21,7 +21,7 @@ export const getCurrentNo = function() {
}
// 发起ajax请求获取服务端版本号
export const getServerNo = function(version,isPrompt = false) {
console.log(isPrompt)
//console.log(isPrompt)
return new Promise((resolve,reject)=>{
let httpData = {
platform:platform,
@@ -795,7 +795,7 @@ function dopdate(res){
}
}
export default function(isPrompt = false) {
console.log(isPrompt)
//console.log(isPrompt)
getCurrentNo().then((version) => {
//console.log('getCurrentNo',version);
getServerNo(version,isPrompt).then(res=> {
@@ -808,7 +808,7 @@ export default function(isPrompt = false) {
});
}
}).catch(e=>{
console.log(e);
//console.log(e);
});
});
}