Commit 01b0839e by lianyang

Litmitbody栅栏显示调整

parent 5d280e47
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<!-- 左边--> <!-- 左边-->
<c-col :span="8"> <c-col :span="len==true?12:8" @change="spanChange">
<!-- line2 --> <!-- line2 -->
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
...@@ -221,7 +221,7 @@ ...@@ -221,7 +221,7 @@
</c-col> </c-col>
<!-- 右边--> <!-- 右边-->
<c-col :span="8"> <c-col :span="len==true?12:8" @change="spanChange">
<!-- line1 --> <!-- line1 -->
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
...@@ -362,7 +362,8 @@ export default { ...@@ -362,7 +362,8 @@ export default {
data() { data() {
return { return {
tableData: {}, tableData: {},
same:false same:false,
len:true
}; };
}, },
methods: { methods: {
...@@ -450,6 +451,11 @@ export default { ...@@ -450,6 +451,11 @@ export default {
if(len1>0&&len2>0){ if(len1>0&&len2>0){
this.same = true; this.same = true;
} }
},
spanChange(){
if(same==false){
len = true;
}
} }
}, },
created: function () {}, created: function () {},
......
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