heyang %!s(int64=2) %!d(string=hai) anos
pai
achega
c2975acdf9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);