Showing
1 changed file
with
8 additions
and
8 deletions
@@ -312,14 +312,14 @@ | @@ -312,14 +312,14 @@ | ||
312 | id: id | 312 | id: id |
313 | }, resultData => { | 313 | }, resultData => { |
314 | 314 | ||
315 | - // /* 结果返回 */ | ||
316 | - // if (resultData.length < 1) { | ||
317 | - // areaCode.val(id); | ||
318 | - // let returnTitle = this.returnTitle(); | ||
319 | - | ||
320 | - // area.val(returnTitle); | ||
321 | - // this.show = false; | ||
322 | - // } | 315 | + /* 结果返回 */ |
316 | + if (resultData.length < 1) { | ||
317 | + areaCode.val(id); | ||
318 | + let returnTitle = this.returnTitle(); | ||
319 | + | ||
320 | + area.val(returnTitle); | ||
321 | + this.show = false; | ||
322 | + } | ||
323 | 323 | ||
324 | /* 数据绑定 */ | 324 | /* 数据绑定 */ |
325 | switch ((id + '').length) { | 325 | switch ((id + '').length) { |
-
Please register or login to post a comment