فهرست منبع

:zap: 优化代码生成按钮换行问题

smallchill 5 سال پیش
والد
کامیت
0d29d1b317
1فایلهای تغییر یافته به همراه1 افزوده شده و 9 حذف شده
  1. 1 9
      src/views/tool/code.vue

+ 1 - 9
src/views/tool/code.vue

@@ -38,7 +38,6 @@
                    size="small"
                    icon="el-icon-document-copy"
                    v-if="permission.code_edit"
-                   plain
                    class="none-border"
                    @click.stop="handleCopy(scope.row)">复制
         </el-button>
@@ -74,6 +73,7 @@
           index: true,
           selection: true,
           labelWidth: 120,
+          menuWidth: 250,
           viewBtn: true,
           dialogClickModal: false,
           column: [
@@ -276,7 +276,6 @@
             });
           });
       },
-
       searchReset() {
         this.query = {};
         this.onLoad(this.page);
@@ -378,10 +377,3 @@
     }
   };
 </script>
-
-<style>
-  .none-border {
-    border: 0;
-    background-color: transparent !important;
-  }
-</style>