Commit be6e491a authored by 刘怀志's avatar 刘怀志

产教中心富文本修改

parent 8bf158cb
...@@ -89,15 +89,7 @@ ...@@ -89,15 +89,7 @@
<el-row> <el-row>
<el-col :span="18"> <el-col :span="18">
<el-form-item label="案例内容:" prop="details" :rules="{ required: !(controls.isOperation === '3'), message: '请输入案例内容', trigger: 'blur' }"> <el-form-item label="案例内容:" prop="details" :rules="{ required: !(controls.isOperation === '3'), message: '请输入案例内容', trigger: 'blur' }">
<el-input <vue-editor id="editorsay" v-model="form.details" :editor-toolbar="customToolbar" :disabled="secondFromDisabled" @blur="queryRules" />
v-model="form.details"
:disabled="secondFromDisabled"
placeholder="请输入案例内容"
size="small"
class="normalInput"
:autosize="{minRows: 8}"
type="textarea"
/>
<!-- <vue-editor id="editorsay" v-model="form.details" :editor-toolbar="customToolbar" @image-added="handleImageAdded" />--> <!-- <vue-editor id="editorsay" v-model="form.details" :editor-toolbar="customToolbar" @image-added="handleImageAdded" />-->
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -213,6 +205,10 @@ export default { ...@@ -213,6 +205,10 @@ export default {
this.getDetail() this.getDetail()
}, },
methods: { methods: {
queryRules() {
console.log('111111111111')
this.$refs.deviceFormRef.validateField('details')
},
/** /**
* @description: 处理上传接口 * @description: 处理上传接口
* @author: gaoyu * @author: gaoyu
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment