From 1b1aa61b0886d1bfa73bb519c5c299849e567b89 Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Thu, 16 Nov 2023 11:25:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 +- index.html | 4 +- package-lock.json | 4 +- public/static/bim.html | 2 +- src/views/sevenLargeScreen/bImModel/index.vue | 56 ++++++++++++++++--- .../sevenLargeScreen/bImModel/indexNormal.vue | 46 +++++++++++++++ vite.config.ts | 4 +- 7 files changed, 102 insertions(+), 17 deletions(-) create mode 100644 src/views/sevenLargeScreen/bImModel/indexNormal.vue diff --git a/.env.development b/.env.development index aa81579..e41fb78 100644 --- a/.env.development +++ b/.env.development @@ -7,7 +7,8 @@ NODE_ENV = 'development' # VITE_API_URL = 'http://192.168.34.221:12360' # 沈阳合盈线上 # VITE_API_URL = "http://101.43.164.214:45022" -VITE_API_URL = 'http://192.168.34.221:30002' +# VITE_API_URL = 'http://192.168.34.221:30002' +VITE_API_URL = 'http://jxj.zhgdyun.com:9809' # 上传 diff --git a/index.html b/index.html index a60478c..1ca2265 100644 --- a/index.html +++ b/index.html @@ -109,12 +109,12 @@ - + > --> diff --git a/src/views/sevenLargeScreen/bImModel/indexNormal.vue b/src/views/sevenLargeScreen/bImModel/indexNormal.vue new file mode 100644 index 0000000..261e2b1 --- /dev/null +++ b/src/views/sevenLargeScreen/bImModel/indexNormal.vue @@ -0,0 +1,46 @@ + + + + + diff --git a/vite.config.ts b/vite.config.ts index 3b6a326..5037c44 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -13,7 +13,7 @@ import importToCDN from "vite-plugin-cdn-import"; // import AutoImport from "unplugin-auto-import/vite"; // import Components from "unplugin-vue-components/vite"; // import { ElementPlusResolver } from "unplugin-vue-components/resolvers"; -import { vitePluginMars3d } from "vite-plugin-mars3d"; +// import { vitePluginMars3d } from "vite-plugin-mars3d"; // @see: https://vitejs.dev/config/ // export const BASE_IMAGE_URL = import.meta.env.NODE_ENV === "development" ? "./src" : ""; export default defineConfig(({ mode }: ConfigEnv): UserConfig => { @@ -67,7 +67,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => { }, plugins: [ vue(), - vitePluginMars3d(), + // vitePluginMars3d(), createHtmlPlugin({ inject: { data: {