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