RouteRecordRaw' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled.
RouteRecordRaw“是一种类型,当“preserveValueImports”和“isolatedModules”都启用时,必须使用仅类型导入导入。
import type { RouteRecordRaw } from 'vue-router'
// 单独提出来加上type类型
```
```