查询按钮添加icon

This commit is contained in:
zhujiyan
2024-08-27 16:13:31 +08:00
parent 88c242e155
commit 0a52e070a9
2 changed files with 8 additions and 3 deletions

View File

@@ -80,7 +80,9 @@
</el-select>
</el-form-item>
<el-form-item>
<el-button type="primary">查询</el-button>
<el-button type="primary" :icon="Search" @click="handleSearch"
>查询</el-button
>
<el-button
type="primary"
@click="handleDetection"
@@ -185,7 +187,10 @@ import { useRouter } from "vue-router";
import tree from "../components/tree.vue";
import Table from "../components/table.vue";
import { data } from "@/api/plan/static.json";
console.log(data, "??????????185");
import {
Refresh,
Search,
} from "@element-plus/icons-vue";
const treeRef = ref();
const form: any = ref({
activeTabs: 0, //功能选择

View File

@@ -447,7 +447,7 @@ onMounted(() => {
<style lang="scss" scoped>
.planList {
width: 100%;
height: calc(100vh - 130px);
height: calc(100vh - 120px);
}
::v-deep .el-select {
width: 150px !important;