修改判断配置是否为空判断

This commit is contained in:
2025-01-04 11:41:16 +08:00
parent 953b0d05ce
commit ef019ba0d7

View File

@@ -76,8 +76,7 @@ function callback() {
} }
export async function init() { export async function init() {
console.log($cache_config); if($cache_config.isEmpty()){
if($cache_config._isEmpty){
httpsRequest.getT('/app/common/getAppUseKv').then(res => { httpsRequest.getT('/app/common/getAppUseKv').then(res => {
console.log(res); console.log(res);
if (res.code == 0) { if (res.code == 0) {