heyang 2 年之前
父节点
当前提交
c2975acdf9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/hazardManagement/hazard/addLaboratory.vue

+ 1 - 1
src/views/hazardManagement/hazard/addLaboratory.vue

@@ -178,7 +178,7 @@ export default {
   methods: {
     //预览
     previewButton(){
-
+      this.$set(this.form,'content',this.$refs.UEditor.text);
       this.$refs["form"].validate(valid => {
         if (valid) {
           this.$set(this,'text',this.$refs.UEditor.text);