chore(Discovery): comment out unused navigateTo code
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { onMounted, ref } from "vue";
|
import { onMounted, ref } from "vue";
|
||||||
import { SEND_MESSAGE_CONTENT_TEXT, SEND_MESSAGE_COMMAND_TYPE, SWITCH_TO_COMPANION_TAB } from "@/constants/constant";
|
import { SEND_MESSAGE_CONTENT_TEXT, SEND_MESSAGE_COMMAND_TYPE, SWITCH_TO_COMPANION_TAB } from "@/constants/constant";
|
||||||
import { navigateTo } from "@/router";
|
// import { navigateTo } from "@/router";
|
||||||
import { getAccessToken } from "@/constants/token";
|
import { getAccessToken } from "@/constants/token";
|
||||||
|
|
||||||
import FindTabs from "./components/FindTabs/index.vue";
|
import FindTabs from "./components/FindTabs/index.vue";
|
||||||
@@ -149,7 +149,7 @@ const handleClick = async (item) => {
|
|||||||
else if (item.jumpType === JumpType.link) {
|
else if (item.jumpType === JumpType.link) {
|
||||||
if (item.jumpContent) {
|
if (item.jumpContent) {
|
||||||
const token = getAccessToken();
|
const token = getAccessToken();
|
||||||
navigateTo(item.jumpContent, { token: token });
|
// navigateTo(item.jumpContent, { token: token });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// 组件指令
|
/// 组件指令
|
||||||
|
|||||||
Reference in New Issue
Block a user