fix: 修复组件路劲
This commit is contained in:
parent
a90946ef89
commit
8e98e3d63a
|
|
@ -184,7 +184,7 @@ import {
|
||||||
onShareTimeline,
|
onShareTimeline,
|
||||||
} from "@dcloudio/uni-app";
|
} from "@dcloudio/uni-app";
|
||||||
import articleMock from "@/mock/article.js";
|
import articleMock from "@/mock/article.js";
|
||||||
import LoginDialog from "@/pages/realtimeInfo/LoginPopup/index.vue";
|
import LoginDialog from "@/pages/realtimeInfo/components/LoginPopup/index.vue";
|
||||||
import { Session } from "@/utils/storage";
|
import { Session } from "@/utils/storage";
|
||||||
import zhaiyaoImg from "../../assets/zixun/zhaiyao_icon.png";
|
import zhaiyaoImg from "../../assets/zixun/zhaiyao_icon.png";
|
||||||
import { useUserStore } from "@/stores/user";
|
import { useUserStore } from "@/stores/user";
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useUserStore } from "@/stores/user";
|
import { useUserStore } from "@/stores/user";
|
||||||
import { computed, onMounted, ref } from "vue";
|
import { computed, onMounted, ref } from "vue";
|
||||||
import LoginDialog from "@/pages/realtimeInfo/LoginPopup/index.vue";
|
import LoginDialog from "@/pages/realtimeInfo/components/LoginPopup/index.vue";
|
||||||
import CustomView from "./components/CustomView.vue";
|
import CustomView from "./components/CustomView.vue";
|
||||||
import List from "./components/List.vue";
|
import List from "./components/List.vue";
|
||||||
import { getMyTags, updateMyTags } from "@/api";
|
import { getMyTags, updateMyTags } from "@/api";
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@
|
||||||
import { getForeignList } from "@/api";
|
import { getForeignList } from "@/api";
|
||||||
import { useUserStore } from "@/stores/user";
|
import { useUserStore } from "@/stores/user";
|
||||||
import { computed, onMounted, reactive, ref } from "vue";
|
import { computed, onMounted, reactive, ref } from "vue";
|
||||||
import LoginDialog from "@/pages/realtimeInfo/LoginPopup/index.vue";
|
import LoginDialog from "@/pages/realtimeInfo/components/LoginPopup/index.vue";
|
||||||
import { onReachBottom } from "@dcloudio/uni-app";
|
import { onReachBottom } from "@dcloudio/uni-app";
|
||||||
|
|
||||||
// 导航栏路由返回
|
// 导航栏路由返回
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useUserStore } from "@/stores/user";
|
import { useUserStore } from "@/stores/user";
|
||||||
import { computed, onMounted, ref } from "vue";
|
import { computed, onMounted, ref } from "vue";
|
||||||
import LoginDialog from "@/pages/realtimeInfo/LoginPopup/index.vue";
|
import LoginDialog from "@/pages/realtimeInfo/components/LoginPopup/index.vue";
|
||||||
import CustomView from "./components/CustomView.vue";
|
import CustomView from "./components/CustomView.vue";
|
||||||
import List from "./components/List.vue";
|
import List from "./components/List.vue";
|
||||||
import { getMyIndustries, updateMyIndustries } from "@/api";
|
import { getMyIndustries, updateMyIndustries } from "@/api";
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@
|
||||||
import { getMacroList } from "@/api";
|
import { getMacroList } from "@/api";
|
||||||
import { useUserStore } from "@/stores/user";
|
import { useUserStore } from "@/stores/user";
|
||||||
import { computed, onMounted, reactive, ref } from "vue";
|
import { computed, onMounted, reactive, ref } from "vue";
|
||||||
import LoginDialog from "@/pages/realtimeInfo/LoginPopup/index.vue";
|
import LoginDialog from "@/pages/realtimeInfo/components/LoginPopup/index.vue";
|
||||||
import { onReachBottom } from "@dcloudio/uni-app";
|
import { onReachBottom } from "@dcloudio/uni-app";
|
||||||
// 导航栏路由返回
|
// 导航栏路由返回
|
||||||
const handleBack = () => {
|
const handleBack = () => {
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ import IndustryNewsView from "./components/IndustryNewsView/index.vue";
|
||||||
import ConceptNewsView from "./components/ConceptNewsView/index.vue";
|
import ConceptNewsView from "./components/ConceptNewsView/index.vue";
|
||||||
import TodayNewsView from "./components/TodayNewsView/index.vue";
|
import TodayNewsView from "./components/TodayNewsView/index.vue";
|
||||||
import FooterView from "./components/FooterView/index.vue";
|
import FooterView from "./components/FooterView/index.vue";
|
||||||
import LoginDialog from "@/pages/realtimeInfo/LoginPopup/index.vue";
|
import LoginDialog from "@/pages/realtimeInfo/components/LoginPopup/index.vue";
|
||||||
import { useUserStore } from "@/stores/user";
|
import { useUserStore } from "@/stores/user";
|
||||||
|
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@
|
||||||
import { getRecommendList } from "@/api";
|
import { getRecommendList } from "@/api";
|
||||||
import { useUserStore } from "@/stores/user";
|
import { useUserStore } from "@/stores/user";
|
||||||
import { computed, onMounted, reactive, ref } from "vue";
|
import { computed, onMounted, reactive, ref } from "vue";
|
||||||
import LoginDialog from "@/pages/realtimeInfo/LoginPopup/index.vue";
|
import LoginDialog from "@/pages/realtimeInfo/components/LoginPopup/index.vue";
|
||||||
import { onReachBottom } from "@dcloudio/uni-app";
|
import { onReachBottom } from "@dcloudio/uni-app";
|
||||||
// 导航栏路由返回
|
// 导航栏路由返回
|
||||||
const handleBack = () => {
|
const handleBack = () => {
|
||||||
|
|
|
||||||
|
|
@ -130,7 +130,7 @@ import { getTopNews } from "@/api/newsInfo";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
import { useUserStore } from "@/stores/user";
|
import { useUserStore } from "@/stores/user";
|
||||||
import RadarChat from "@/components/charts/Radar.vue";
|
import RadarChat from "@/components/charts/Radar.vue";
|
||||||
import LoginDialog from "@/pages/realtimeInfo/LoginPopup/index.vue";
|
import LoginDialog from "@/pages/realtimeInfo/components/LoginPopup/index.vue";
|
||||||
|
|
||||||
const userStore = useUserStore(); // 登录弹框
|
const userStore = useUserStore(); // 登录弹框
|
||||||
const LoginShow = ref(false);
|
const LoginShow = ref(false);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue