This commit is contained in:
PQZ 2025-01-08 16:25:30 +08:00
parent 138f9a9318
commit 89f32ff254
2 changed files with 4 additions and 2 deletions

View File

@ -11,7 +11,7 @@ module.exports = {
// 应用名称
name: "lanan-jc",
// 应用版本
version: "2.2",
version: "2.6",
// 应用logo
logo: "/static/logo.png'",
// 官方网站

View File

@ -57,7 +57,9 @@ const request = config => {
toast(msg)
reject(code)
}
res.data.code = (res.data.code === 0 ? 200 : res.data.code)
if (res.data.code != undefined){
res.data.code = (res.data.code === 0 ? 200 : res.data.code)
}
if(res.data.data && res.data.data.records){
res.data.rows = res.data.data.records
}