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

@@ -209,7 +209,7 @@ import {
VideoPause
} from '@element-plus/icons-vue'
import 'highlight.js/styles/a11y-dark.css'
import {dateFormat, randString, removeArrayItem, renderInputText, UUID} from "@/utils/libs";
import {dateFormat, isMobile, randString, removeArrayItem, renderInputText, UUID} from "@/utils/libs";
import {ElMessage, ElMessageBox} from "element-plus";
import hl from "highlight.js";
import {getSessionId, removeLoginUser} from "@/store/session";
@@ -241,6 +241,10 @@ const showConfigDialog = ref(false);
const showPasswordDialog = ref(false);
const isLogin = ref(false)
if (isMobile()) {
router.replace("/mobile")
}
onMounted(() => {
resizeElement();
checkSession().then((user) => {