删除所有 as any.
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
!tagList.value.some((tag) => tag.fullPath === route.fullPath)
|
||||
) {
|
||||
// 固定并且没有此 tab 则添加
|
||||
tabBarStore.addTab(routerToTag(route), route.meta?.ignoreCache as unknown as any);
|
||||
tabBarStore.addTab(routerToTag(route), route.meta?.ignoreCache as unknown as boolean);
|
||||
}
|
||||
}, true);
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
return props.modelValue;
|
||||
},
|
||||
async set(e) {
|
||||
await checkCreateTag(e as any);
|
||||
await checkCreateTag(e as Array<any>);
|
||||
emits('update:modelValue', e);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user