feat: vue-mobile => 完成用户信息修改功能,前后端都添加文件上传功能。

This commit is contained in:
RockYang
2023-06-27 12:11:55 +08:00
parent 5187a43543
commit a08981f876
20 changed files with 353 additions and 73 deletions

View File

@@ -17,9 +17,20 @@
<script setup>
import {ref} from "vue";
import {getMobileTheme} from "@/store/system";
import {useRouter} from "vue-router";
import {isMobile} from "@/utils/libs";
import {checkSession} from "@/action/session";
const router = useRouter()
checkSession().then(() => {
if (!isMobile()) {
router.replace('/chat')
}
}).catch(() => {
router.push('/login')
})
const active = ref('home')
const onChange = (index) => {
console.log(index)
// showToast(`标签 ${index}`);