解决在mac下面前端代码打包报错的bug
This commit is contained in:
@@ -17,9 +17,10 @@
|
||||
computed: {
|
||||
comp: function () {
|
||||
if(!this.path){
|
||||
return null;
|
||||
return null
|
||||
}
|
||||
return () => import(`@/views/${this.path}.vue`)
|
||||
return null
|
||||
// return () => import(`@/views/${this.path}.vue`)
|
||||
}
|
||||
},
|
||||
props: ['path','formData'],
|
||||
|
||||
Reference in New Issue
Block a user