Commit 86a94b22 by 潘际乾

#1179、#1180缺陷修复

parent a8f49195
...@@ -53,6 +53,6 @@ ...@@ -53,6 +53,6 @@
<style> <style>
.c-content-scrollbar .el-scrollbar__wrap{ .c-content-scrollbar .el-scrollbar__wrap{
overflow-y: scroll; overflow-y: scroll;
overflow-x: auto; overflow-x: hidden;
} }
</style> </style>
\ No newline at end of file
...@@ -53,6 +53,9 @@ export default { ...@@ -53,6 +53,9 @@ export default {
// this.$emit("input", newVal); // this.$emit("input", newVal);
// }, // },
// }, // },
mode () {
return this.$store.state.Status.mode
},
isDisable: { isDisable: {
get() { get() {
return this.mode === "display" || this.disabled; return this.mode === "display" || this.disabled;
......
...@@ -105,22 +105,22 @@ ...@@ -105,22 +105,22 @@
</el-table-column> </el-table-column>
<el-table-column label="" prop="det" width="150px" fixed="right" > <el-table-column label="" prop="det" width="150px" fixed="right" >
<template slot-scope="scope" slot="header"> <template slot-scope="scope" slot="header">
<el-button <c-button
circle circle
style="padding: 4px" style="padding: 4px"
class="el-icon-plus" class="el-icon-plus"
size="mini" size="mini"
@click="addRow(scope)" @click="addRow(scope)"
> >
</el-button> </c-button>
<el-button <c-button
style="padding: 4px" style="padding: 4px"
circle circle
class="el-icon-minus" class="el-icon-minus"
size="mini" size="mini"
@click="removeRow(scope)" @click="removeRow(scope)"
> >
</el-button> </c-button>
</template> </template>
<template slot-scope="scoped"> <template slot-scope="scoped">
<c-button <c-button
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment