Authored by 张文文

bug fix

... ... @@ -102,10 +102,14 @@ export default {
}
}
let addressInfo = JSON.parse(item || "{}");
Object.assign(addressInfo, { isUpdate: !isAdd, orderCode: "" });
//编辑地址时保存item
if (!isAdd) {
let addressInfo = JSON.parse(item || "{}");
Object.assign(addressInfo, { isUpdate: !isAdd, orderCode: "" });
this.STORE_UPDATE_ADDRESS_INFO(addressInfo);
}
this.STORE_UPDATE_ADDRESS_INFO(addressInfo);
this.$router.push({
name: "addressEdit"
});
... ...
... ... @@ -334,7 +334,7 @@ export default {
<style lang="scss" scoped>
.pane-body {
height: 100%;
overflow-y: auto;
overflow-y: hidden;
padding-top: 12px;
padding-left: 40px;
padding-right: 40px;
... ...
{
"name": "xianyu-ufo-app-web",
"version": "0.0.2-beta-14",
"version": "0.0.2-beta-15",
"private": true,
"description": "Xianyu Project With Express",
"repository": {
... ...