1
Showing
2 changed files
with
8 additions
and
2 deletions
... | @@ -231,7 +231,10 @@ export default { | ... | @@ -231,7 +231,10 @@ export default { |
231 | this.errorTips.contactMethodErr = ""; | 231 | this.errorTips.contactMethodErr = ""; |
232 | } | 232 | } |
233 | }, | 233 | }, |
234 | 'data.complain': function () { | 234 | 'data.complain': function (v, ov) { |
235 | if (v.length > 500) { | ||
236 | this.data.complain = v.substring(0, 500); | ||
237 | } | ||
235 | this.errorTips.complainErr = ""; | 238 | this.errorTips.complainErr = ""; |
236 | }, | 239 | }, |
237 | 'data.policyNumber': function () { | 240 | 'data.policyNumber': function () { | ... | ... |
... | @@ -206,7 +206,10 @@ export default { | ... | @@ -206,7 +206,10 @@ export default { |
206 | } | 206 | } |
207 | 207 | ||
208 | }, | 208 | }, |
209 | 'data.instruction': function () { | 209 | 'data.instruction': function (v, ov) { |
210 | if (v.length > 1000) { | ||
211 | this.data.instruction = v.substring(0, 1000); | ||
212 | } | ||
210 | this.errorTips.e8 = ""; | 213 | this.errorTips.e8 = ""; |
211 | this.errorTips.e5 = ""; | 214 | this.errorTips.e5 = ""; |
212 | }, | 215 | }, | ... | ... |
-
Please register or sign in to post a comment