解决在mac下面前端代码打包报错的bug

This commit is contained in:
季圣华
2022-11-07 20:55:35 +08:00
parent f3445bab37
commit 2a1db9bbf5

View File

@@ -17,9 +17,10 @@
computed: { computed: {
comp: function () { comp: function () {
if(!this.path){ if(!this.path){
return null; return null
} }
return () => import(`@/views/${this.path}.vue`) return null
// return () => import(`@/views/${this.path}.vue`)
} }
}, },
props: ['path','formData'], props: ['path','formData'],