Explorar el Código

代码生成富文本默认dialogsInBody属性

RuoYi hace 3 años
padre
commit
9d83ffab2a

+ 1 - 0
ruoyi-generator/src/main/resources/vm/html/add.html.vm

@@ -238,6 +238,7 @@
         $(function() {
             $('.summernote').summernote({
                 lang: 'zh-CN',
+                dialogsInBody: true,
                 callbacks: {
                     onChange: function(contents, $edittable) {
                         $("input[name='" + this.id + "']").val(contents);

+ 1 - 0
ruoyi-generator/src/main/resources/vm/html/edit.html.vm

@@ -245,6 +245,7 @@
             $('.summernote').each(function(i) {
                 $('#' + this.id).summernote({
                     lang: 'zh-CN',
+                    dialogsInBody: true,
                     callbacks: {
                         onChange: function(contents, $edittable) {
                             $("input[name='" + this.id + "']").val(contents);