fix: 调整组件

This commit is contained in:
lilinyuan
2024-03-26 16:29:09 +08:00
parent 82947fe5b6
commit ed0d51d47d
2 changed files with 2 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
label-width="auto" label-width="auto"
ref="formInstance" ref="formInstance"
> >
<el-row> <el-row :gutter="20">
<el-col <el-col
v-for="item in filterSchma" v-for="item in filterSchma"
v-bind="item.colProps || { span: 12}" v-bind="item.colProps || { span: 12}"
@@ -62,7 +62,6 @@ const filterSchma = computed(()=>{
}) })
}) })
console.log(filterSchma.value, 'filterSchma');
const validate = async () => { const validate = async () => {
let validObj = {} let validObj = {}

View File

@@ -6,7 +6,7 @@
v-for="btn in tableConfig.btns" v-for="btn in tableConfig.btns"
:key="btn.key" :key="btn.key"
:type="btn.type || ''" :type="btn.type || ''"
:v-perm="btn.auth || '[*:*:*]'" v-perm="btn.auth || ['*:*:*']"
@click="handleClickBtns(btn.key)" @click="handleClickBtns(btn.key)"
> >
{{ btn.name }} {{ btn.name }}