From 650d7006f4db994f3a2eb841e6d3d1a6a3e92d61 Mon Sep 17 00:00:00 2001 From: sunFlower <787203167@qq.com> Date: Fri, 16 Sep 2022 09:39:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98=E7=9F=A5?= =?UTF-8?q?=E8=AF=86=E5=BA=93=E7=9A=84=E5=AF=8C=E6=96=87=E6=9C=AC=E7=B2=98?= =?UTF-8?q?=E8=B4=B4=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/problemKnowledgeBaseAdd.vue | 21 +++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) 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) {