diff --git a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseAdd.vue b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseAdd.vue index f292d6cb9..b36a85902 100644 --- a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseAdd.vue +++ b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseAdd.vue @@ -308,7 +308,7 @@ }, isDisplay: false, disabled: false, - content: '

I am Example

' + content: '

I am Example

', projectNameList: [ { value: 'Open', @@ -318,7 +318,7 @@ value: 'Privacy', name: this.$t('Privacy') } - ], + ] } }, computed: { @@ -359,7 +359,7 @@ } }) .then((res) => { - if (res.data.success){ + if (res.data.success) { let quill = this.$refs.myQuillEditor.quill let length = quill.getSelection().index let fileName = res.data.result.fileName @@ -444,20 +444,17 @@ }, backClick() { this.$router.go(-1) - } - , + }, showPermissionsChange(event, name) { if (event == 'Open') { this.isDisplay = false } else { this.isDisplay = true } - } - , + }, onEditorBlur(quill) { console.log('editor blur!', quill) - } - , + }, onEditorFocus(quill) { console.log('editor focus!', quill) }, @@ -517,8 +514,7 @@ this.$refs.uploadFile.perentHandleFunc() } }) - } - , + }, /** 上传文件的回调 */ uploadSuccess(data) { let attIdList = [] @@ -530,8 +526,7 @@ /** 赋值给当前对应的表单文件 */ this.formInline[this.uploadName] = attIdList.join(',') this.formInline = { ...this.formInline } - } - , + }, submit() { this.$refs.ruleForm.validate(valid => { if (valid) {