<template>
  <h1>搜索输入框</h1>
  <SearchInput
    v-model:value="filterFiled.condition"
    :api-url="filterFiled.apiUrl"
    :api-response-data-text-filed-name="
      filterFiled.apiResponseDataTextFiledName
    "
  />
</template>

<script>
import SearchInput from '../../packages/info/src/SearchInput.vue';
export default {
  components: { SearchInput },
  data() {
    return {
      filterFiled: {
        condition: '',
        apiUrl: 'SqlApiResource/execute/20221206_114403',
        apiResponseDataTextFiledName: 'datas->assetInventoryId',
      },
    };
  },
  watch:{
    'filterFiled.condition':{
      handler(newValue){
        console.log(newValue,'condition-----');
      },
    },
  },
};
</script>

<style>
</style>