重置添加层户数据优化
Showing
1 changed file
with
4 additions
and
11 deletions
... | @@ -113,16 +113,9 @@ export default { | ... | @@ -113,16 +113,9 @@ export default { |
113 | }, | 113 | }, |
114 | //重置数据 | 114 | //重置数据 |
115 | reset() { | 115 | reset() { |
116 | this.tableData = [ | 116 | this.tableData[0].qsc = ""; |
117 | { | 117 | this.tableData[0].jsc = ""; |
118 | cz: "+", | 118 | this.tableData[0].hs = ""; |
119 | ljzbsm: "", | ||
120 | zdybsm: "", | ||
121 | qsc: "", | ||
122 | jsc: "", | ||
123 | hs: "", | ||
124 | }, | ||
125 | ]; | ||
126 | }, | 119 | }, |
127 | }, | 120 | }, |
128 | computed: {}, | 121 | computed: {}, |
... | @@ -171,7 +164,7 @@ export default { | ... | @@ -171,7 +164,7 @@ export default { |
171 | }, | 164 | }, |
172 | scyclx:{ | 165 | scyclx:{ |
173 | handler(n){ | 166 | handler(n){ |
174 | this.$nextTick(()=>{ | 167 | this.$nextTick(()=>{ |
175 | this.formData.scyclx = this.scyclx; | 168 | this.formData.scyclx = this.scyclx; |
176 | }) | 169 | }) |
177 | } | 170 | } | ... | ... |
-
Please register or sign in to post a comment