Showing
3 changed files
with
6 additions
and
2 deletions
@@ -102,10 +102,14 @@ export default { | @@ -102,10 +102,14 @@ export default { | ||
102 | } | 102 | } |
103 | } | 103 | } |
104 | 104 | ||
105 | + //编辑地址时保存item | ||
106 | + if (!isAdd) { | ||
105 | let addressInfo = JSON.parse(item || "{}"); | 107 | let addressInfo = JSON.parse(item || "{}"); |
106 | Object.assign(addressInfo, { isUpdate: !isAdd, orderCode: "" }); | 108 | Object.assign(addressInfo, { isUpdate: !isAdd, orderCode: "" }); |
107 | 109 | ||
108 | this.STORE_UPDATE_ADDRESS_INFO(addressInfo); | 110 | this.STORE_UPDATE_ADDRESS_INFO(addressInfo); |
111 | + } | ||
112 | + | ||
109 | this.$router.push({ | 113 | this.$router.push({ |
110 | name: "addressEdit" | 114 | name: "addressEdit" |
111 | }); | 115 | }); |
@@ -334,7 +334,7 @@ export default { | @@ -334,7 +334,7 @@ export default { | ||
334 | <style lang="scss" scoped> | 334 | <style lang="scss" scoped> |
335 | .pane-body { | 335 | .pane-body { |
336 | height: 100%; | 336 | height: 100%; |
337 | - overflow-y: auto; | 337 | + overflow-y: hidden; |
338 | padding-top: 12px; | 338 | padding-top: 12px; |
339 | padding-left: 40px; | 339 | padding-left: 40px; |
340 | padding-right: 40px; | 340 | padding-right: 40px; |
1 | { | 1 | { |
2 | "name": "xianyu-ufo-app-web", | 2 | "name": "xianyu-ufo-app-web", |
3 | - "version": "0.0.2-beta-14", | 3 | + "version": "0.0.2-beta-15", |
4 | "private": true, | 4 | "private": true, |
5 | "description": "Xianyu Project With Express", | 5 | "description": "Xianyu Project With Express", |
6 | "repository": { | 6 | "repository": { |
-
Please register or login to post a comment