feat: 探索发现改为了我的订单
This commit is contained in:
@@ -26,8 +26,8 @@ const itemList = ref([
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: "",
|
icon: "",
|
||||||
title: "探索发现",
|
title: "我的订单",
|
||||||
type: Command.discovery,
|
type: Command.myOrder,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: "",
|
icon: "",
|
||||||
@@ -56,6 +56,14 @@ const sendReply = (item) => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 我的订单
|
||||||
|
if (item.type === Command.myOrder) {
|
||||||
|
checkToken().then(() => {
|
||||||
|
uni.navigateTo({ url: "/pages-order/order/list" });
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
uni.$emit(SEND_MESSAGE_COMMAND_TYPE, item);
|
uni.$emit(SEND_MESSAGE_COMMAND_TYPE, item);
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user