remove: 移除无用代码

This commit is contained in:
lidongtony
2023-03-13 18:56:17 +08:00
parent 58747d9797
commit ed99aa4350
2 changed files with 1 additions and 14 deletions
+1 -7
View File
@@ -49,18 +49,12 @@
loading: true,
});
// 选择收货地址 有h5端需返回两次的bug
// 选择收货地址
const onSelect = (addressInfo) => {
// const pages = sheep.$router.getCur();
// const lastPage = pages[pages.length - 2];
// if (!_.isEmpty(lastPage) && lastPage.route === "pages/order/confirm") {
// sheep.$router.back();
// uni.navigateBack();
uni.$emit('SELECT_ADDRESS', {
addressInfo,
});
sheep.$router.back();
// }
};
// 导入微信地址