-
-
-
-
-
-
-
+
+
+
+
+
+ {{ title }}
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 停止生成
-
-
-
-
-
-
- 重新生成
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
+
+
+
-
Ctrl + Enter 换行
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 停止生成
+
+
+
+
+
+
+ 重新生成
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
diff --git a/web/src/views/Home.vue b/web/src/views/Home.vue
index fd24b189..b9a994fc 100644
--- a/web/src/views/Home.vue
+++ b/web/src/views/Home.vue
@@ -2,25 +2,20 @@
{{ title }}
-
diff --git a/web/src/views/Login.vue b/web/src/views/Login.vue
new file mode 100644
index 00000000..2037aedf
--- /dev/null
+++ b/web/src/views/Login.vue
@@ -0,0 +1,155 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 登录
+
+
+
+ 还没有账号?
+ 注册新账号
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/src/views/Register.vue b/web/src/views/Register.vue
new file mode 100644
index 00000000..03e6585f
--- /dev/null
+++ b/web/src/views/Register.vue
@@ -0,0 +1,171 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 注册
+
+
+
+ 已经有账号?
+ 登录
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/src/views/Test.vue b/web/src/views/Test.vue
index 96058691..7b7ca9bc 100644
--- a/web/src/views/Test.vue
+++ b/web/src/views/Test.vue
@@ -1,49 +1,165 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
对话内容
+
+
+
+
+
+ 增加一行
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
\ No newline at end of file
diff --git a/web/src/views/admin/UserList.vue b/web/src/views/admin/UserList.vue
index a826cf29..f9bd6684 100644
--- a/web/src/views/admin/UserList.vue
+++ b/web/src/views/admin/UserList.vue
@@ -416,12 +416,12 @@ const batchAddUser = function () {
padding-bottom: 10px;
.el-icon {
- margin-right 5px;
+ margin-right: 5px;
}
}
.el-select {
- width 100%
+ width: 100%
}
}
diff --git a/web/vue.config.js b/web/vue.config.js
index 0c0fc728..64684861 100644
--- a/web/vue.config.js
+++ b/web/vue.config.js
@@ -2,6 +2,7 @@ const {defineConfig} = require('@vue/cli-service')
let webpack = require('webpack')
module.exports = defineConfig({
transpileDependencies: true,
+ lintOnSave: false, //关闭eslint校验
configureWebpack: {
// disable performance hints
performance: {
@@ -12,8 +13,8 @@ module.exports = defineConfig({
]
},
- publicPath: '/chat',
- outputDir: '../src/dist',
+ publicPath: '/',
+ outputDir: 'dist',
crossorigin: "anonymous",
devServer: {
allowedHosts: ['127.0.0.1:5678'],