Commit 700a3e67 authored by 陈宗胤(贵阳日报)'s avatar 陈宗胤(贵阳日报)
parents 15b95ed0 9fc978e3
...@@ -113,10 +113,12 @@ const hdSubmit = async () => { ...@@ -113,10 +113,12 @@ const hdSubmit = async () => {
uni.showToast({ uni.showToast({
title: '提交成功', title: '提交成功',
duration: 2000, duration: 2000,
icon: 'success',
success: () => {
uni.navigateBack();
},
}); });
uni.navigateTo({
url: '/pages/address/addressList',
});
} catch (error) { } catch (error) {
console.log(error, 'error'); console.log(error, 'error');
} }
......
...@@ -222,9 +222,22 @@ const hdSubmit = async () => { ...@@ -222,9 +222,22 @@ const hdSubmit = async () => {
...formdata, ...formdata,
images: proImage(), images: proImage(),
}); });
uToast.success('评价成功'); xma.showToast({
title: '发布中',
icon: 'none',
duration: 2000,
success: () => {
xma.redirectTo({ xma.redirectTo({
url: `/pages/order/order?status=not_eval`, url: `/pages/order/order?status=not_eval`,
complete: () => {
xma.showToast({
title: '评价成功',
icon: 'none',
duration: 2000,
});
},
});
},
}); });
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment