打包后的修改

This commit is contained in:
于晏彭 2023-03-15 15:12:55 +08:00
parent e5a15b0330
commit 4e367b7afd
15 changed files with 6 additions and 9 deletions

View File

@ -99,7 +99,6 @@
dot.forEach(item => (item.style.background = color));
if (isDark) html.style.background = "#141414";
}
window.http = "http://139.9.66.234:6688";
</script>
<script type="module" src="/src/main.ts"></script>
</body>

View File

@ -1,3 +1,3 @@
// * 后端微服务端口名
export const PORT1 = "http://192.168.34.122:6688";
export const PORT2 = "http://139.9.66.234:6688";
export const PORT1 = "http://139.9.66.234:6688";
export const PORT2 = "http://192.168.34.122:6688";

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 615 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 B

View File

@ -15,7 +15,7 @@ export const DEFAULT_PRIMARY: string = "#008BFF";
export const ROUTER_WHITE_LIST: string[] = ["/500", "/projectlogon"];
// * 高德地图 key
export const AMAP_MAP_KEY: string = "";
export const AMAP_MAP_KEY: string = "142e51d55274a0140e838245345cf9ad";
// * 百度地图 key
export const BAIDU_MAP_KEY: string = "";

View File

@ -42,7 +42,6 @@ export const staticRouter: RouteRecordRaw[] = [
name: "dictionary",
component: () => import("@/views/jxjview/dictionary/index.vue")
},
{ path: "/dictionary/detail", name: "dicDetail", component: () => import("@/views/jxjview/dictionary/detail.vue") },
{ path: "/appmanage", name: "appManage", component: () => import("@/views/jxjview/appmanage/index.vue") }
]
}

View File

@ -38,7 +38,7 @@
:headers="headers"
v-model:file-list="fileList"
class="upload-demo"
action="http://192.168.34.122:6688/xmgl/file/upload"
action="http://139.9.66.234:6688/xmgl/file/upload"
multiple
:limit="1"
:on-success="uploadSuccess"
@ -67,12 +67,11 @@ import { useRouter } from "vue-router";
import { User } from "@/api/interface";
import { GlobalStore } from "@/stores";
import { ColumnProps } from "@/components/ProTable/interface";
import { useHandleData } from "@/hooks/useHandleData";
import { useDownload } from "@/hooks/useDownload";
import ProTable from "@/components/ProTable/index.vue";
import { CirclePlus, Delete, EditPen, Download, Upload, View, Refresh } from "@element-plus/icons-vue";
import { getAppList, editApp, addApp, exportApp } from "@/api/modules/jxjview";
import { fa } from "element-plus/es/locale";
const router = useRouter();
const globalStore = GlobalStore();

View File

@ -43,7 +43,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
// 跨域代理配置
proxy: {
"/api": {
target: "http://192.168.34.122:6688", // easymock
target: "http://139.9.66.234:6688", // easymock
// target: "https://www.fastmock.site/mock/f81e8333c1a9276214bcdbc170d9e0a0", // fastmock
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, "")