Commit 86c21b12 by 前端

Merge branch 'SAAS+V5.6.4' into 'master'

上线合并

See merge request !75
2 parents ec6946b8 6af40b00
......@@ -2,8 +2,8 @@
"name" : "展业助手",
"appid" : "__UNI__D3BD3DF",
"description" : "",
"versionName" : "2.22.2",
"versionCode" : 2222,
"versionName" : "2.22.3",
"versionCode" : 2223,
"transformPx" : false,
"sassImplementationName" : "node-sass",
/* 5+App特有相关 */
......
......@@ -63,13 +63,13 @@ class PathUtils {
}
// 2. 尝试读取持久化缓存
const storageCache = uni.getStorageSync(this.ROOT_PATH_CACHE_KEY);
if (storageCache) {
uni.$logger?.local?.info(`[PathUtils] 命中本地缓存,根路径: ${storageCache}`);
// 同步到内存缓存
this.CACHED_ROOT_PATH = storageCache;
return Promise.resolve(this.CACHED_ROOT_PATH);
}
// const storageCache = uni.getStorageSync(this.ROOT_PATH_CACHE_KEY);
// if (storageCache) {
// uni.$logger?.local?.info(`[PathUtils] 命中本地缓存,根路径: ${storageCache}`);
// // 同步到内存缓存
// this.CACHED_ROOT_PATH = storageCache;
// return Promise.resolve(this.CACHED_ROOT_PATH);
// }
// 3. 无缓存,请求原生文件系统API
return new Promise((resolve, reject) => {
......
......@@ -206,13 +206,13 @@ class RecordService {
handler(params, fn, delay = 0) {
if (this.isReceptioning()) {
if (delay > 0) {
// 使用函数名作为防抖的 key
// 注意:这里 fn.name 在压缩混淆后可能会变,但在 Service 内部引用是固定的
this.debounce(fn.name, () => fn.call(this, params), delay)
} else {
// if (delay > 0) {
// // 使用函数名作为防抖的 key
// // 注意:这里 fn.name 在压缩混淆后可能会变,但在 Service 内部引用是固定的
// this.debounce(fn.name, () => fn.call(this, params), delay)
// } else {
fn.call(this, params)
}
// }
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!