Sfoglia il codice sorgente

修改点云场景的参数searchType

tangning 1 giorno fa
parent
commit
077409a194
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      src/layout/edit/scene-select.vue
  2. 1 1
      src/views/setting/select-back.vue

+ 1 - 1
src/layout/edit/scene-select.vue

@@ -140,7 +140,7 @@ let loadCount = 0
 watchEffect(() => {
   const list = type.value === '点云场景' ? meshList : cloudList
   const currentCount = ++loadCount
-  fetchScenesAll({...params.value, sceneName: keyword.value, }).then((data) => {
+  fetchScenesAll({...params.value, sceneName: keyword.value, searchType: '2' }).then((data) => {
     console.log('====>', currentCount, loadCount, params.value)
     if (currentCount === loadCount) {
 

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

@@ -67,7 +67,7 @@
                   width="88px"
                   height="28px"
                   preview
-                  :accept="'.png'"
+                  :accept="'.jpg,.jpeg'"
                   :multiple="false"
                   @update:modelValue="updateFile"
                   :maxSize="audioSize"