3 Commits

Author SHA1 Message Date
ebef3963f8 feat: 🚀 优化富文本多张图片上传 2025-07-14 17:53:37 +08:00
0ecb7691da feat: 🚀 登出地址 2025-07-14 10:57:34 +08:00
9c2253a91e feat: 🚀 生产环境登录地址修改 2025-07-14 10:30:19 +08:00
7 changed files with 8 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ ENV = 'dev'
VITE_APP_API_BASEURL =https://dev.ow.f2b211.com/admapi/v1 VITE_APP_API_BASEURL =https://dev.ow.f2b211.com/admapi/v1
#前端回显图片之类的地址 #前端回显图片之类的地址
VITE_APP_API_BASE_UPLOAD_URL =https://dev.ow.f2b211.com VITE_APP_API_BASE_UPLOAD_URL =https://dev.ow.f2b211.com/
# 本地环境 # 本地环境
VITE_USER_NODE_ENV = development VITE_USER_NODE_ENV = development

View File

@@ -1,10 +1,10 @@
ENV = 'production' ENV = 'production'
VITE_APP_API_BASEURL =https://ow.f2b211.com/admapi/v1 VITE_APP_API_BASEURL =https://orico.com.cn/admapi/v1
#前端回显图片之类的地址 #前端回显图片之类的地址
# 线上环境 # 线上环境
VITE_USER_NODE_ENV = production VITE_USER_NODE_ENV = production
#前端回显图片之类的地址 #前端回显图片之类的地址
VITE_APP_API_BASE_UPLOAD_URL =https://ow.f2b211.com/ VITE_APP_API_BASE_UPLOAD_URL =https://orico.com.cn/
# 是否启用 gzip 或 brotli 压缩打包,如果需要多个压缩规则,可以使用 “,” 分隔 # 是否启用 gzip 或 brotli 压缩打包,如果需要多个压缩规则,可以使用 “,” 分隔
# Optional: gzip | brotli | none # Optional: gzip | brotli | none

BIN
dist.zip

Binary file not shown.

View File

@@ -2,12 +2,12 @@
<el-upload <el-upload
:id="uuid" :id="uuid"
action="#" action="#"
:multiple="false" :multiple="true"
:show-file-list="false" :show-file-list="false"
:http-request="handleHttpUpload" :http-request="handleHttpUpload"
:before-upload="handleBeforeUpload" :before-upload="handleBeforeUpload"
class="editor-img-uploader" class="editor-img-uploader"
accept=".jpeg,.jpg,.png" accept=".jpeg,.jpg,.png,.gif"
> >
<i ref="uploadRef" class="Plus editor-img-uploader"></i> <i ref="uploadRef" class="Plus editor-img-uploader"></i>
</el-upload> </el-upload>

View File

@@ -29,7 +29,6 @@ const handleCreated = (editor: any) => {
editorRef.value = editor; editorRef.value = editor;
}; };
console.log(editorRef.value, "=editorRef.value=");
const $router = useRouter(); const $router = useRouter();
const routerValueName: string = $router.currentRoute.value.name as string; const routerValueName: string = $router.currentRoute.value.name as string;
const routerObj: any = { const routerObj: any = {

View File

@@ -271,5 +271,5 @@
white-space: nowrap; white-space: nowrap;
} }
.el-message__wrapper { .el-message__wrapper {
z-index: 9999; /* 一个较大的值,确保在抽屉之上 */ z-index: 9999 !important; /* 一个较大的值,确保在抽屉之上 */
} }

View File

@@ -4,8 +4,8 @@ import { useUserStore } from "@/stores/modules/user";
//不同环境的login地址 //不同环境的login地址
const LOGIN_OBJ: any = { const LOGIN_OBJ: any = {
development: "http://localhost:8080/admin/login", //开发环境 development: "http://localhost:8080/admin/login", //开发环境
test: "https://dev.ow.admin.f2b211.com/", //测试环境 test: "https://dev.orico.com.cn/admin/login", //测试环境
production: "http://localhost:8080/login" //生产环境 production: "https://orico.com.cn/admin/login" //生产环境
}; };
/** /**
/** /**