Skip to content

Commit

Permalink
修复eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Jan 3, 2019
1 parent 93cadca commit 74f34df
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/FormDesigner/Container.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable */
<template>

<el-container class="widget-config-container">
Expand Down Expand Up @@ -282,7 +283,7 @@ import 'vue-awesome/icons/chalkboard'
import 'vue-awesome/icons/upload'
import GenerateForm from './GenerateForm'
import JSONEditor from 'jsoneditor'
// import JSONEditor from 'jsoneditor'
import 'jsoneditor/dist/jsoneditor.min.css'
import Clipboard from 'clipboard'
import { basicComponents, layoutComponents, advanceComponents } from './componentsConfig.js'
Expand Down Expand Up @@ -388,9 +389,9 @@ export default {
},
handleTest() {
this.$refs.generateForm.getData().then((data) => {
this.$alert(data, '').catch((e) => {})
this.$alert(data, '').catch(() => {})
this.$refs.widgetPreview.end()
}).catch((e) => {
}).catch(() => {
this.$refs.widgetPreview.end()
})
},
Expand Down

0 comments on commit 74f34df

Please sign in to comment.