|
|
@@ -13,13 +13,12 @@ export default {
|
|
|
},
|
|
|
computed:{
|
|
|
formComponent () {
|
|
|
- console.log(this.formPath,'formpath')
|
|
|
- console.log(this.oldFormPath,'formpath')
|
|
|
if (this.oldFormPath) {
|
|
|
return ()=>import(`@/${this.oldFormPath.add}/add.vue`)
|
|
|
-
|
|
|
- } else {
|
|
|
+ } else if(this.formPath) {
|
|
|
return ()=>import(`@/Form/${this.formPath}/add.vue`)
|
|
|
+ } else {
|
|
|
+ return false
|
|
|
}
|
|
|
}
|
|
|
},
|