uni-oaview 1.9.0 → 1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
const windowHeight = uni.getSystemInfoSync()?.windowHeight ?? 'auto';
|
|
34
34
|
const baseUrl = uni.getStorageSync('baseUrl');
|
|
35
35
|
/** 如果在debug状态,或者是在白名单里面,则展示vconsole */
|
|
36
|
-
const showLog = ref(whiteUrls.some((url) =>
|
|
36
|
+
const showLog = ref(whiteUrls.some((url) => baseUrl?.includes(url)) || !!uni.getStorageSync('isDebug'));
|
|
37
37
|
let isLock = false;
|
|
38
38
|
setTimeout(function () {
|
|
39
39
|
isLock = true;
|