<template>
  <div class="page">
    <el-card shadow="nover">
      <el-form inline>
        <el-form-item label="分类名称">
          <el-input v-model="params.name" placeholder="请输入分类名称" @keyup.enter="getData" class="w-50" clearable />
        </el-form-item>
        <el-form-item>
          <el-button type="primary" class="ml10" @click="getData">
            <el-icon>
              <ele-Search />
            </el-icon>
            查询
          </el-button>
        </el-form-item>
      </el-form>
    </el-card>
  </div>
</template>

<script lang="ts" setup>
import { ref, toRefs, reactive, onMounted, defineComponent } from 'vue';
import { ElMessageBox, ElMessage } from 'element-plus';
import api from '/@/api/device';

const params = reactive({
  name: ''
})

function getData() {
  
}

</script>