From 40865ab049afd57d8df79a8a8c164052462ece48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AD=E5=A6=82?= <8775@163.com> Date: Mon, 30 Dec 2024 09:04:23 +0800 Subject: [PATCH] 5.0 --- .../sop-website-frontend/src/layout/frame.vue | 2 +- .../src/views/doc/api/index.vue | 13 +------------ sop-website/sop-website-frontend/vite.config.ts | 2 +- 3 files changed, 3 insertions(+), 14 deletions(-) diff --git a/sop-website/sop-website-frontend/src/layout/frame.vue b/sop-website/sop-website-frontend/src/layout/frame.vue index 142fad79..6c3c1ffc 100755 --- a/sop-website/sop-website-frontend/src/layout/frame.vue +++ b/sop-website/sop-website-frontend/src/layout/frame.vue @@ -22,7 +22,7 @@ const frameRef = ref(null); if (unref(currentRoute.meta)?.frameSrc) { frameSrc.value = unref(currentRoute.meta)?.frameSrc as string; } -unref(currentRoute.meta)?.frameLoading === 0 && hideLoading(); +unref(currentRoute.meta)?.frameLoading && hideLoading(); function hideLoading() { loading.value = false; diff --git a/sop-website/sop-website-frontend/src/views/doc/api/index.vue b/sop-website/sop-website-frontend/src/views/doc/api/index.vue index faf398ad..d878afd6 100755 --- a/sop-website/sop-website-frontend/src/views/doc/api/index.vue +++ b/sop-website/sop-website-frontend/src/views/doc/api/index.vue @@ -138,18 +138,7 @@ const defaultProps = { - - - +

业务返回参数

diff --git a/sop-website/sop-website-frontend/vite.config.ts b/sop-website/sop-website-frontend/vite.config.ts index d05971d7..aebdea30 100755 --- a/sop-website/sop-website-frontend/vite.config.ts +++ b/sop-website/sop-website-frontend/vite.config.ts @@ -27,7 +27,7 @@ export default ({ mode }: ConfigEnv): UserConfigExport => { proxy: { "/api": { // 这里填写后端地址 - target: "http://127.0.0.1:8082", + target: "http://127.0.0.1:8083", changeOrigin: true, rewrite: path => path.replace(/^\/api/, "") }