对接选课接口
This commit is contained in:
parent
73bf023565
commit
d22acd005c
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
/node_modules/
|
||||
/.idea/
|
||||
*/.DS_Store
|
||||
/dist/
|
||||
|
||||
@ -11,9 +11,12 @@
|
||||
<view class="user-avatar-placeholder">
|
||||
<image :src="currentStudent.avatar" class="w-full h-full"></image>
|
||||
</view>
|
||||
<!-- <view-->
|
||||
<!-- class="user-details"-->
|
||||
<!-- @click="navigateTo('/pages/system/login/login')"-->
|
||||
<!-- >-->
|
||||
<view
|
||||
class="user-details"
|
||||
@click="navigateTo('/pages/base/parentRegister/index')"
|
||||
>
|
||||
<text class="user-name">{{ currentStudent.name }}</text>
|
||||
<view class="user-class-container">
|
||||
@ -114,8 +117,8 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { navigateTo } from "@/utils/uniapp";
|
||||
import { ref } from "vue";
|
||||
import {navigateTo} from "@/utils/uniapp";
|
||||
import {ref} from "vue";
|
||||
// 菜单项数据
|
||||
const menuItems = ref([
|
||||
{
|
||||
|
||||
@ -12,12 +12,10 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { onLoad } from "@dcloudio/uni-app";
|
||||
import pages from "@/pages.json";
|
||||
import { useDataStore } from "@/store/modules/data";
|
||||
import { useUserStore } from "@/store/modules/user";
|
||||
import { checkOpenId } from "@/api/system/login";
|
||||
import { isTabBar } from "@/utils/uniapp";
|
||||
import {onLoad} from "@dcloudio/uni-app";
|
||||
import {useDataStore} from "@/store/modules/data";
|
||||
import {useUserStore} from "@/store/modules/user";
|
||||
import {checkOpenId} from "@/api/system/login";
|
||||
|
||||
const { setGlobal } = useDataStore();
|
||||
const { afterLoginAction } = useUserStore();
|
||||
@ -47,7 +45,7 @@ onLoad(async (data: any) => {
|
||||
toHome(data);
|
||||
} else {
|
||||
uni.reLaunch({
|
||||
url: "/pages/base/parentRegister/index",
|
||||
url: "/pages/system/login/login",
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user