[Vue warn]: data functions should return an object
使用 vue-template-admin做二次开发的时候遇到的奇怪报错,最后排查定位到了原因
import { defaultRouterData } from '@/router/modules/abc' 这个路由里面没有 defaultRouterData 存在,把它改掉就好了
[Vue warn]: data functions should return an object
使用 vue-template-admin做二次开发的时候遇到的奇怪报错,最后排查定位到了原因
import { defaultRouterData } from '@/router/modules/abc' 这个路由里面没有 defaultRouterData 存在,把它改掉就好了