Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JINRUN-PERPOSITION
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xinzhedeai
JINRUN-PERPOSITION
Commits
1561d94f
Commit
1561d94f
authored
Nov 20, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:label 被tileset模型遮挡问题
parent
1a641b3f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
index.vue
src/views/index.vue
+6
-0
vue.config.js
vue.config.js
+1
-1
No files found.
src/views/index.vue
View file @
1561d94f
...
@@ -384,6 +384,12 @@ export default {
...
@@ -384,6 +384,12 @@ export default {
fillColor
:
labelColor
,
fillColor
:
labelColor
,
depthTestAgainstTerrain
:
false
,
depthTestAgainstTerrain
:
false
,
pixelOffset
:
new
Cesium
.
Cartesian2
(
0
,
-
35
),
pixelOffset
:
new
Cesium
.
Cartesian2
(
0
,
-
35
),
disableDepthTestDistance
:
Number
.
POSITIVE_INFINITY
,
// 确保label始终显示在最前面
heightReference
:
Cesium
.
HeightReference
.
CLAMP_TO_3D_TILE
,
// 与billboard保持一致
verticalOrigin
:
Cesium
.
VerticalOrigin
.
TOP
,
// 确保正确的垂直对齐
horizontalOrigin
:
Cesium
.
HorizontalOrigin
.
CENTER
,
// 确保正确的水平对齐
eyeOffset
:
new
Cesium
.
Cartesian3
(
0
,
0
,
0
),
// 调整眼睛偏移量
scaleByDistance
:
new
Cesium
.
NearFarScalar
(
1000
,
1
,
500000
,
0.5
),
// 控制不同距离下的缩放比例
},
},
billboard
:
{
billboard
:
{
image
:
iconPath
,
image
:
iconPath
,
...
...
vue.config.js
View file @
1561d94f
...
@@ -36,7 +36,7 @@ module.exports = {
...
@@ -36,7 +36,7 @@ module.exports = {
proxy
:
{
proxy
:
{
// detail: https://cli.vuejs.org/config/#devserver-proxy
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
// target: `http://192.168.2.16:808
2`,//涛本地
// target: `http://192.168.2.16:808
1`,//涛本地 ruoyi
target
:
`http://192.168.2.37:8080`
,
//鲁本地
target
:
`http://192.168.2.37:8080`
,
//鲁本地
// target: `https://gqyjpt.weihai.cn`,//高区孵化平台
// target: `https://gqyjpt.weihai.cn`,//高区孵化平台
// target: `http://192.168.2.16:8080`,//涛本地
// target: `http://192.168.2.16:8080`,//涛本地
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment