mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-13 12:43:43 +08:00
more chat role is ready, and add API to add new chat role
This commit is contained in:
26
web/src/views/Home.vue
Normal file
26
web/src/views/Home.vue
Normal file
@@ -0,0 +1,26 @@
|
||||
<template>
|
||||
<div>{{ title }}</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { defineComponent } from "vue"
|
||||
import {isMobile} from "@/utils/libs";
|
||||
|
||||
export default defineComponent({
|
||||
name: 'HomePage',
|
||||
data () {
|
||||
return {
|
||||
title: "Loading page...",
|
||||
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
if (isMobile()) {
|
||||
this.$router.push("mobile");
|
||||
} else {
|
||||
this.$router.push("plus");
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
</script>
|
||||
Reference in New Issue
Block a user