diff --git a/vue3/index.html b/vue3/index.html index 3dcc439a..eee0eeed 100644 --- a/vue3/index.html +++ b/vue3/index.html @@ -6,10 +6,10 @@ - - vue3-element-admin + + 启航电商OMS订单处理系统 diff --git a/vue3/package.json b/vue3/package.json index 0b0af355..fccfeda3 100644 --- a/vue3/package.json +++ b/vue3/package.json @@ -111,8 +111,8 @@ "vite-plugin-svg-icons": "^2.0.1", "vue-tsc": "^1.8.27" }, - "repository": "https://gitee.com/youlaiorg/vue3-element-admin.git", - "author": "有来开源组织", + "repository": "https://gitee.com/qiliping/qihang.ecom.oms.git", + "author": "启航", "license": "MIT", "engines": { "node": ">=18.0.0" diff --git a/vue3/src/components/Upload/MultiUpload.vue b/vue3/src/components/Upload/MultiUpload.vue index 735f7a3e..d372eff0 100644 --- a/vue3/src/components/Upload/MultiUpload.vue +++ b/vue3/src/components/Upload/MultiUpload.vue @@ -1,6 +1,6 @@ diff --git a/vue3/src/views/login/index.vue b/vue3/src/views/login/index.vue index 16314470..b5d20ae4 100644 --- a/vue3/src/views/login/index.vue +++ b/vue3/src/views/login/index.vue @@ -108,7 +108,7 @@ -
+
{{ $t("login.username") }}: admin {{ $t("login.password") }}: 123456
@@ -121,7 +121,7 @@ v-show="useAppStore().device == 'desktop'" >

- Copyright © 2021 - 2024 youlai.tech All Rights Reserved. 有来技术 + Copyright © 2021 - 2024 youlai.tech All Rights Reserved. 启航电商 版权所有

皖ICP备20006496号-3

@@ -142,7 +142,7 @@ import { useAppStore } from "@/store/modules/app"; // API依赖 import { LocationQuery, LocationQueryValue, useRoute } from "vue-router"; -import { getCaptchaApi } from "@/api/auth"; + import { LoginData } from "@/api/auth/types"; const settingsStore = useSettingsStore(); @@ -182,7 +182,7 @@ const loginFormRef = ref(ElForm); // 登录表单ref const loginData = ref({ username: "admin", - password: "123456", + password: "admin123", }); const { t } = useI18n(); @@ -231,12 +231,12 @@ function checkCapslock(e: any) { /** * 获取验证码 */ -function getCaptcha() { - getCaptchaApi().then(({ data }) => { - loginData.value.captchaKey = data.captchaKey; - captchaBase64.value = data.captchaBase64; - }); -} +// function getCaptcha() { +// getCaptchaApi().then(({ data }) => { +// loginData.value.captchaKey = data.captchaKey; +// captchaBase64.value = data.captchaBase64; +// }); +// } /** * 根据组件大小调整验证码图片高度 */ @@ -289,7 +289,7 @@ function handleLogin() { } onMounted(() => { - getCaptcha(); + // getCaptcha(); // 主题初始化 const theme = useSettingsStore().theme; diff --git a/vue3/vite.config.ts b/vue3/vite.config.ts index 16123a8e..caad601b 100644 --- a/vue3/vite.config.ts +++ b/vue3/vite.config.ts @@ -52,9 +52,9 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => { [env.VITE_APP_BASE_API]: { changeOrigin: true, // 线上接口地址 - target: "http://vapi.youlai.tech", + // target: "http://www.qihang.com", // 开发接口地址 - //target: "http://localhost:8989", + target: "http://localhost:8080", rewrite: (path) => path.replace(new RegExp("^" + env.VITE_APP_BASE_API), ""), },