去掉部分console
This commit is contained in:
@@ -39,7 +39,7 @@ const useChatGroupDBStore = defineStore("messageGroup", () => {
|
|||||||
setTimeout(async () => {
|
setTimeout(async () => {
|
||||||
if (!baseDB.isDBReady) await baseDB.initDB();
|
if (!baseDB.isDBReady) await baseDB.initDB();
|
||||||
const result = await baseDB.db.getAll(tableName.value);
|
const result = await baseDB.db.getAll(tableName.value);
|
||||||
console.log('result', result)
|
// console.log('result', result)
|
||||||
// 1、判断是否有数据,没数据请求服务器
|
// 1、判断是否有数据,没数据请求服务器
|
||||||
if (result.length) {
|
if (result.length) {
|
||||||
console.warn('本地数据库存在数据')
|
console.warn('本地数据库存在数据')
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ export function createRequest(url, data = {}, method = 'GET', loading = false, h
|
|||||||
} = resData.data
|
} = resData.data
|
||||||
if (code === 200) {
|
if (code === 200) {
|
||||||
resolve(resData.data)
|
resolve(resData.data)
|
||||||
console.log(resData.data.data,'接口解密')
|
// console.log(resData.data.data,'接口解密')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (msg) {
|
if (msg) {
|
||||||
|
|||||||
Reference in New Issue
Block a user