Explorar el Código

子表api传参 用户操作优化

wu hace 3 meses
padre
commit
f49b41372a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/components/Generator/components/InputTable/index.vue

+ 1 - 0
src/components/Generator/components/InputTable/index.vue

@@ -351,6 +351,7 @@ export default {
       } else {
         getAPIData(itemConfig, itemConfig.propsUrl, itemConfig.ApiParams, this.tableData, '', itemConfig.apiProps).then((res) => {
           this.$set(itemConfig, 'options', res)
+          this.$set(itemConfig, 'value', null)
         })
       }
     },