File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/components/file_system_interface Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -298,18 +298,17 @@ export default {
298
298
output += ' };\n <\/ script>'
299
299
return output
300
300
}
301
-
301
+
302
302
else {
303
303
let str = ' '
304
304
children .forEach (name => {
305
305
str += ` import ${ name} from '@/components/${ name} .vue';\n `
306
306
})
307
307
let childrenComponentNames = ' '
308
308
children .forEach (name => {
309
- childrenComponentNames += ` \t\t ${ name} ,\n `
309
+ childrenComponentNames += ` ${ name} ,\n `
310
310
})
311
- return ` \n\n <script>\n ${ str} \n export default {\n\t name: '${ componentName} ',
312
- \n\t components: {\n ${ childrenComponentNames} \t }\n };\n <\/ script>`
311
+ return ` \n\n <script>\n ${ str} \n export default {\n name: '${ componentName} ',\n components: {\n ${ childrenComponentNames} }\n };\n <\/ script>`
313
312
}
314
313
315
314
},
You can’t perform that action at this time.
0 commit comments