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

dev
smallchill 5 years ago
parent 43b6cce767
commit 0d29d1b317
  1. 10
      src/views/tool/code.vue

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

Loading…
Cancel
Save