Parcourir la source

修改地图默认值

wangfumin il y a 3 mois
Parent
commit
fff7d76ff2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/setting/select-back.vue

+ 1 - 1
src/views/setting/select-back.vue

@@ -102,7 +102,7 @@ const backs = computed(() => [
 onMounted(() => {
   // 如果没有获取到默认值(value[0]和value[1]都为空),则默认选中"无"选项
   if (!props.value[0] && !props.value[1]) {
-    emit("update:value", ["none", null]);
+    emit("update:value", ["dt", 1]);
   }
 });