Authored by 郭成尧

address-bug-fixed

... ... @@ -136,6 +136,6 @@ $submit.on('touchend', function() {
});
// 省市区
$area.on('touchend', function() {
$area.on('click', function() {
addressVact.$children[0].show = true;
});
... ...
... ... @@ -214,10 +214,11 @@
methods: {
/* 返回标题处理 */
returnTitle() {
let streetTitle = this.street.allTitle !== '全部' ? this.street.allTitle : '';
let getTitle = this.province.allTitle +
this.city.allTitle +
this.area.allTitle +
this.street.allTitle;
streetTitle;
let returnTitle = '';
if (getTitle.length > 11) {
... ... @@ -311,14 +312,14 @@
id: id
}, resultData => {
/* 结果返回 */
if (resultData.length < 1) {
areaCode.val(id);
let returnTitle = this.returnTitle();
// /* 结果返回 */
// if (resultData.length < 1) {
// areaCode.val(id);
// let returnTitle = this.returnTitle();
area.val(returnTitle);
this.show = false;
}
// area.val(returnTitle);
// this.show = false;
// }
/* 数据绑定 */
switch ((id + '').length) {
... ...