|
|
@@ -42,6 +42,8 @@ import DiscoverIndex from './home/discover/index.vue';
|
|
|
import StoreIndex from './home/store/index.vue';
|
|
|
import CommonRoot from '@/components/dialog/CommonRoot.vue';
|
|
|
import { onShareAppMessage, onShareTimeline } from '@dcloudio/uni-app';
|
|
|
+import { navTo } from '@/components/utils/PageAction.js';
|
|
|
+import { useLoadQuerys } from '@/common/composeabe/LoadQuerys.js';
|
|
|
|
|
|
const title = computed(() => {
|
|
|
switch (tabIndex.value) {
|
|
|
@@ -60,6 +62,14 @@ const title = computed(() => {
|
|
|
});
|
|
|
const tabIndex = ref(0);
|
|
|
|
|
|
+useLoadQuerys({
|
|
|
+ openLogin: false,
|
|
|
+}, (querys) => {
|
|
|
+ if (querys.openLogin) {
|
|
|
+ navTo('/pages/user/login');
|
|
|
+ }
|
|
|
+});
|
|
|
+
|
|
|
onShareAppMessage(() => {
|
|
|
return {
|
|
|
title: '村社文化资源挖掘平台',
|