瀏覽代碼

卷帘对比初始化

DESKTOP-CRQ4N2U\jintian 2 年之前
父節點
當前提交
dcc105f5b5
共有 1 個文件被更改,包括 2 次插入2 次删除
  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.value = res;
 						res.label = res.layername;
 						res.label = res.layername;
 
 
-						if (index == 0) {
+						if (res.layername === "二调") {
 							_self.leftValue = res;
 							_self.leftValue = res;
 						}
 						}
-						if (index == 1) {
+						if (res.layername === "三调") {
 							_self.rightValue = res;
 							_self.rightValue = res;
 						}
 						}