fix: 导入 'uni-mini-router' 类型不正确问题

This commit is contained in:
h_mo 2024-06-14 11:30:19 +08:00
parent 0fea321256
commit f997a9d6c1
2 changed files with 3 additions and 2 deletions

View File

@ -6,8 +6,6 @@ function onClick() {
console.log('click');
router.push({ name: 'Login' });
}
// const pt = __UNI_PLATFORM__;
</script>
<template>

View File

@ -1,4 +1,7 @@
import 'uni-mini-router';
declare module 'uni-mini-router' {
interface Route {
meta?: {
ignoreAuth?: boolean