2020年9月2日

摘要: import我们通常的用法是 import('@/pages/demo').then(item=>{}) 但是现在有个需求必须要动态传入路径,发现传入变量后不能识别,代码如下 const modelpath = ‘@/pages/demo’ import(modelpath).then(item = 阅读全文
posted @ 2020-09-02 22:30 zhangzongshan 阅读(593) 评论(0) 推荐(0)

导航