diff --git a/src/pages/ChatMain/ChatQuickAccess/index.vue b/src/pages/ChatMain/ChatQuickAccess/index.vue index 2e1ce16..6cb730a 100644 --- a/src/pages/ChatMain/ChatQuickAccess/index.vue +++ b/src/pages/ChatMain/ChatQuickAccess/index.vue @@ -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); };