diff --git a/.env b/.env index dacb1a5..30b8e66 100644 --- a/.env +++ b/.env @@ -5,4 +5,4 @@ VITE_PORT = 8888 VITE_OPEN = false # public path 配置线上环境路径(打包)、本地通过 http-server 访问时,请置空即可 -VITE_PUBLIC_PATH = /vue-next-admin-preview/ \ No newline at end of file +VITE_PUBLIC_PATH = /vue-next-admin-preview/ diff --git a/.env.development b/.env.development index bc3c2aa..e588db1 100644 --- a/.env.development +++ b/.env.development @@ -2,4 +2,7 @@ ENV = 'development' # 本地环境接口地址 -VITE_API_URL = 'http://localhost:4111/' +VITE_API_URL1 = 'http://111.231.140.87:4111/' +VITE_API_URL = 'http://192.168.2.100:4111/' +VITE_API_TITLE = '桃源记2内网100后台' +VITE_API_VICETITLE = '内网100后台' diff --git a/.env.production b/.env.production index b1afda7..752286b 100644 --- a/.env.production +++ b/.env.production @@ -3,8 +3,8 @@ ENV = 'production' # public path 配置线上环境路径(打包)、本地通过 http-server 访问时,请置空即可 VITE_PUBLIC_PATH = - +VITE_outDir = 'dist' # 线上环境接口地址 -VITE_API_URL = 'http://1.116.242.236:4111/' - - +VITE_API_URL = 'http://192.168.2.115:4111/' +VITE_API_TITLE = '桃源记2内网115后台' +VITE_API_VICETITLE = '内网115后台' \ No newline at end of file diff --git a/.env.test115 b/.env.test115 new file mode 100644 index 0000000..6f44f36 --- /dev/null +++ b/.env.test115 @@ -0,0 +1,10 @@ +# 线上环境 +ENV = 'production' + +# public path 配置线上环境路径(打包)、本地通过 http-server 访问时,请置空即可 +VITE_PUBLIC_PATH = +VITE_outDir = 'test115' +# 线上环境接口地址 +VITE_API_URL = 'http://192.168.2.115:4111/' +VITE_API_TITLE = '桃源记2内网115后台' +VITE_API_VICETITLE = '内网115后台' \ No newline at end of file diff --git a/.env.test246 b/.env.test246 new file mode 100644 index 0000000..7898abd --- /dev/null +++ b/.env.test246 @@ -0,0 +1,10 @@ +# 线上环境 +ENV = 'production' + +# public path 配置线上环境路径(打包)、本地通过 http-server 访问时,请置空即可 +VITE_PUBLIC_PATH = +VITE_outDir = 'test246' +# 线上环境接口地址 +VITE_API_URL = 'http://119.29.144.246:4111/' +VITE_API_TITLE = '桃源记2测试246后台' +VITE_API_VICETITLE = '测试246后台' \ No newline at end of file diff --git a/.env.test87 b/.env.test87 new file mode 100644 index 0000000..d0d79ec --- /dev/null +++ b/.env.test87 @@ -0,0 +1,10 @@ +# 线上环境 +ENV = 'production' + +# public path 配置线上环境路径(打包)、本地通过 http-server 访问时,请置空即可 +VITE_PUBLIC_PATH = +VITE_outDir = 'test87' +# 线上环境接口地址 +VITE_API_URL = 'http://101.35.161.116:4111/' +VITE_API_TITLE = '桃源记2后台' +VITE_API_VICETITLE = '后台' \ No newline at end of file diff --git a/.env.test89 b/.env.test89 new file mode 100644 index 0000000..379bd45 --- /dev/null +++ b/.env.test89 @@ -0,0 +1,10 @@ +# 线上环境 +ENV = 'production' + +# public path 配置线上环境路径(打包)、本地通过 http-server 访问时,请置空即可 +VITE_PUBLIC_PATH = +VITE_outDir = 'test89' +# 线上环境接口地址 +VITE_API_URL = 'http://122.152.229.89:4111/' +VITE_API_TITLE = '桃源记2测试89后台' +VITE_API_VICETITLE = '测试89后台' diff --git a/.eslintignore b/.eslintignore index cfc877d..3ac2f35 100644 --- a/.eslintignore +++ b/.eslintignore @@ -9,10 +9,10 @@ lib .vscode .idea dist +dist/assets +dist/index.html mock public bin build -config -index.html -src/assets \ No newline at end of file +config \ No newline at end of file diff --git a/.tgitconfig b/.tgitconfig new file mode 100644 index 0000000..e69de29 diff --git a/README.en.md b/README.en.md new file mode 100644 index 0000000..47ebfda --- /dev/null +++ b/README.en.md @@ -0,0 +1,36 @@ +# vue_admin + +#### Description +tyj_vue_admin_ui + +#### Software Architecture +Software architecture description + +#### Installation + +1. xxxx +2. xxxx +3. xxxx + +#### Instructions + +1. xxxx +2. xxxx +3. xxxx + +#### Contribution + +1. Fork the repository +2. Create Feat_xxx branch +3. Commit your code +4. Create Pull Request + + +#### Gitee Feature + +1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md +2. Gitee blog [blog.gitee.com](https://blog.gitee.com) +3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) +4. The most valuable open source project [GVP](https://gitee.com/gvp) +5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) +6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md index 54c34dc..5fc01ff 100644 --- a/README.md +++ b/README.md @@ -60,3 +60,11 @@ cnpm run build ## ❤特别鸣谢 * 感谢[VUE-NEXT-ADMIN](https://github.com/lyt-Top/vue-next-admin) + +## 💔页面数据缓存注意: +* 将数据保存在第一层 + +# 运行项目 +* npm run test115 +* npm run test246 +* npm run test87 diff --git a/index.html b/index.html index a8170d8..237b7e0 100644 --- a/index.html +++ b/index.html @@ -6,14 +6,14 @@ -