Showing
1 changed file
with
1 additions
and
2 deletions
@@ -146,9 +146,8 @@ | @@ -146,9 +146,8 @@ | ||
146 | 146 | ||
147 | /* 获取地址数据 */ | 147 | /* 获取地址数据 */ |
148 | getAddress(id) { | 148 | getAddress(id) { |
149 | - console.log(id); | ||
150 | $.get('/home/getaddress.json', { | 149 | $.get('/home/getaddress.json', { |
151 | - id: id | 150 | + id: id || '0' |
152 | }, resultData => { | 151 | }, resultData => { |
153 | this.addresses = resultData; | 152 | this.addresses = resultData; |
154 | }); | 153 | }); |
-
Please register or login to post a comment