We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1f5cb7 commit 190808dCopy full SHA for 190808d
src/views/dev-tools/gen/index.vue
@@ -291,10 +291,6 @@ export default {
291
}
292
)
293
},
294
- // onCmCodeChange(newCode) {
295
- // console.log('this is new code', newCode)
296
- // this.code = newCode
297
- // },
298
codeChange(e) {
299
if (e.indexOf('js') > -1) {
300
this.cmOptions.mode = 'text/javascript'
@@ -336,7 +332,7 @@ export default {
336
332
previewTable(row.tableId).then(response => {
337
333
this.preview.data = response.data
338
334
this.preview.open = true
339
- this.codeChange('template/api.go')
335
+ this.codeChange('template/api.go.template')
340
})
341
342
handleToProject(row) {
0 commit comments