Skip to content

Commit 96143d3

Browse files
committed
同步代码
1 parent 29c6f88 commit 96143d3

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.env.development

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# base目录
22
VITE_BASE_URL=/
3-
VITE_API_BASE=/v1/
3+
VITE_API_URL=/v1/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ const show = (name: string) => {
607607
// dependencies中添加
608608
{
609609
"mars3d": "~3.6.0",
610-
"mars3d-cesium": "~1.110.0",
610+
"mars3d-cesium": "~1.111.0",
611611
"@turf/turf": "^6.5.0",
612612
"kml-geojson": "^1.2.0",
613613
"vue": "^3.2.26",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"lodash": "^4.17.21",
3131
"mapv": "^2.0.62",
3232
"mars3d": "~3.6.0",
33-
"mars3d-cesium": "~1.110.0",
33+
"mars3d-cesium": "~1.111.1",
3434
"mars3d-echarts": "~3.6.0",
3535
"mars3d-heatmap": "~3.6.0",
3636
"mars3d-mapv": "~3.6.0",
@@ -67,7 +67,7 @@
6767
"typescript": "5.2.2",
6868
"vite": "^4.5.0",
6969
"vite-plugin-eslint": "^1.8.1",
70-
"vite-plugin-mars3d": "^3.0.3",
70+
"vite-plugin-mars3d": "^3.1.1",
7171
"vite-plugin-style-import": "^2.0.0",
7272
"vue-tsc": "^1.8.19"
7373
},

vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default ({ mode }: ConfigEnv) => {
2626
"process.env": {
2727
mode,
2828
BASE_URL: ENV.VITE_BASE_URL,
29-
API_BASE: ENV.VITE_API_BASE
29+
API_BASE: ENV.VITE_API_URL
3030
},
3131
buildTime: new Date()
3232
},
@@ -86,7 +86,7 @@ export default ({ mode }: ConfigEnv) => {
8686
plugins: [
8787
vue(),
8888
eslintPlugin({ cache: false }),
89-
mars3dPlugin(),
89+
mars3dPlugin({ useStatic: false }),
9090
createStyleImportPlugin({
9191
resolves: [AndDesignVueResolve()],
9292
libs: [

0 commit comments

Comments
 (0)