more chat role is ready, and add API to add new chat role

This commit is contained in:
RockYang
2023-04-08 09:39:03 +08:00
parent df7d4d5b94
commit df9e587300
21 changed files with 231 additions and 104 deletions

26
web/src/views/Home.vue Normal file
View 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>