fix: 1319 退料接收详情页面连点两次,页面卡死

This commit is contained in:
binbin_pan 2024-04-25 14:58:34 +08:00
parent 41601ff933
commit 9aab9d752f
1 changed files with 4 additions and 1 deletions

View File

@ -49,7 +49,8 @@
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">查询</el-button>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery" :loading="loading">
查询</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
@ -545,6 +546,8 @@ export default {
this.deviceList = response.data.rows
this.total = response.data.total
this.loading = false
}).catch(() => {
this.loading = false
})
},
/** 搜索按钮操作 */