feat:增加设置模块
This commit is contained in:
@@ -6,10 +6,17 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useRouter } from 'vue-router'
|
||||
import { isMobile } from 'vue3-common/utils/layoutUtil'
|
||||
import { ElMessage } from 'element-plus'
|
||||
|
||||
const router = useRouter()
|
||||
|
||||
const loginClick = () => {
|
||||
if (!isMobile()) {
|
||||
ElMessage.error('暂不支持PC端')
|
||||
return
|
||||
}
|
||||
|
||||
router.push('/record')
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user