Explorar o código

卷帘对比初始化

DESKTOP-CRQ4N2U\jintian %!s(int64=2) %!d(string=hai) anos
pai
achega
dcc105f5b5
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/views/Map3d/components/ImageLayerSplit.vue

+ 2 - 2
src/views/Map3d/components/ImageLayerSplit.vue

@@ -709,10 +709,10 @@
 						res.value = res;
 						res.label = res.layername;
 
-						if (index == 0) {
+						if (res.layername === "二调") {
 							_self.leftValue = res;
 						}
-						if (index == 1) {
+						if (res.layername === "三调") {
 							_self.rightValue = res;
 						}