flat: 123

This commit is contained in:
Apcallover
2024-03-20 22:15:08 +08:00
parent 4baf2cec38
commit 4eff3a6728
3 changed files with 16 additions and 7 deletions

View File

@@ -3,7 +3,7 @@
<jl-go-back></jl-go-back>
<el-row>
<el-col :span="8">
<avue-form :option="formOption" v-model="form" @submit="handleSubmit" ref="form">
<avue-form :option="formOption" :upload-before="uploadBefore" v-model="form" @submit="handleSubmit" ref="form">
</avue-form>
</el-col>
<el-col :span="16">
@@ -202,7 +202,10 @@
};
},
methods: {
uploadBefore(file, done, loading, column) {
this.form.headPic = ''
done()
},
// 值发生变化
onEditorChange(editor) {
this.content = editor.html;