Commit 958219c4 authored by 李苏's avatar 李苏 💬

唯一码查询 默认不查询 必输入唯一码

parent 3990bd8d
<template>
<BasePage ref="basePage" :power='power' class="min_full" :config="config">
<BasePage :autoQuery='false' :changeQueryParams='checkQueryParams' ref="basePage" :power='power' class="min_full" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
......@@ -186,6 +186,14 @@
},
methods: {
checkQueryParams(params, tbapp) {
if (!params.packCode) {
this.$warning('请输入唯一码后查询')
tbapp.loading = false
tbapp.isactive = false
throw new Error('请输入唯一码后查询')
}
}
/* 示例*/
// demo(basePage){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment