...
|
...
|
@@ -164,11 +164,11 @@ export default function() { |
|
|
},
|
|
|
|
|
|
[BUYER_ASK_SET_PRODUCTINFO](state, payload) {
|
|
|
state.originProductData = payload
|
|
|
state.originProductData = payload;
|
|
|
},
|
|
|
|
|
|
[BUYER_ASK_SET_STORAGEID](state, payload) {
|
|
|
state.storageId = payload
|
|
|
state.storageId = payload;
|
|
|
},
|
|
|
|
|
|
[BUYER_ASK_SET_SHOWTOAST](state, payload) {
|
...
|
...
|
@@ -375,13 +375,12 @@ export default function() { |
|
|
address_id,
|
|
|
}).then(result => {
|
|
|
if (result.code === 200) {
|
|
|
let payload = get(result, ['data', 'dialog'], null)
|
|
|
let payload = get(result, ['data', 'dialog'], null);
|
|
|
commit(BUYER_ASK_PREPUBLISH_SUCCESS, payload);
|
|
|
return payload;
|
|
|
} else {
|
|
|
commit(BUYER_ASK_PREPUBLISH_FAILURE, result.message);
|
|
|
return null;
|
|
|
}
|
|
|
return result;
|
|
|
}, error => {
|
|
|
console.log(error);
|
|
|
commit(BUYER_ASK_PREPUBLISH_FAILURE, TIP);
|
...
|
...
|
|