1.更新im
2.修改bug
This commit is contained in:
2025-07-09 15:18:56 +08:00
parent 308d9ae94e
commit 78141a788f
22 changed files with 168 additions and 368 deletions
-13
View File
@@ -37,19 +37,6 @@ export function isYT() {
return (res.VITE_PLATFORM === 'YT') as boolean;
}
export function isShowNewLayout(v) {
if (getEnvInfo().VITE_PLATFORM !== 'YT') return false;
// const code: string = '/intervene24/index,/information,/archives/index';
const code: string = '*';
return code === '*' || (code.split(',').includes(v) && v);
}
export function isShowNewLayoutSpecial(v) {
if (getEnvInfo().VITE_PLATFORM !== 'YT') return false;
// const code: string = '/intervene24/index,/information,/archives/index';
// return !code.split(',').includes(v) && v;
return false;
}
// 判断是否为空,需过滤0
export function isNull(v) {
if (v != 0 && !v) return '-';