From c66b9868ededa0f89038f1a046ee7b3daee2e203 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 05 十一月 2024 16:16:20 +0800 Subject: [PATCH] 回车刷新页面问题 --- src/views/system/point/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/system/point/index.vue b/src/views/system/point/index.vue index fe4a301..f77e05a 100644 --- a/src/views/system/point/index.vue +++ b/src/views/system/point/index.vue @@ -1,8 +1,8 @@ <template> <div class="app-container"> - <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"> + <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" @submit.native.prevent> <el-form-item label="鐐逛綅鍚嶇О" prop="pointName"> - <el-input v-model="queryParams.pointName" placeholder="杈撳叆鐐逛綅鍚嶇О" clearable @keyup.enter.native="handleQuery" /> + <el-input v-model="queryParams.pointName" placeholder="杈撳叆鐐逛綅鍚嶇О" clearable @clear="handleQuery" @keyup.enter.native="handleQuery" /> </el-form-item> <el-form-item> <el-button type="primary" icon="el-icon-search" size="small" @click="handleQuery">鎼滅储</el-button> -- Gitblit v1.8.0