update
1.更新im 2.修改bug
This commit is contained in:
@@ -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 '-';
|
||||
|
||||
Reference in New Issue
Block a user