This commit is contained in:
王津校 2024-03-05 15:10:55 +08:00
parent 970373a841
commit b360a495bd
2 changed files with 6 additions and 6 deletions

View File

@ -213,7 +213,7 @@ const columns = [
clearable clearable
type="text" type="text"
placeholder="请输入API路径" placeholder="请输入API路径"
@keypress.enter="$table?.handleSearch" @keypress.enter="$table?.handleSearch()"
/> />
</QueryBarItem> </QueryBarItem>
<QueryBarItem label="API简介" :label-width="70"> <QueryBarItem label="API简介" :label-width="70">
@ -222,7 +222,7 @@ const columns = [
clearable clearable
type="text" type="text"
placeholder="请输入API简介" placeholder="请输入API简介"
@keypress.enter="$table?.handleSearch" @keypress.enter="$table?.handleSearch()"
/> />
</QueryBarItem> </QueryBarItem>
<QueryBarItem label="Tags" :label-width="40"> <QueryBarItem label="Tags" :label-width="40">
@ -231,7 +231,7 @@ const columns = [
clearable clearable
type="text" type="text"
placeholder="请输入API模块" placeholder="请输入API模块"
@keypress.enter="$table?.handleSearch" @keypress.enter="$table?.handleSearch()"
/> />
</QueryBarItem> </QueryBarItem>
</template> </template>

View File

@ -49,7 +49,7 @@ const {
doCreate: api.createUser, doCreate: api.createUser,
doUpdate: api.updateUser, doUpdate: api.updateUser,
doDelete: api.deleteUser, doDelete: api.deleteUser,
refresh: () => $table.value?.handleSearch(), // refresh: () => $table.value?.handleSearch(),
}) })
const roleOption = ref([]) const roleOption = ref([])
@ -320,7 +320,7 @@ const validateAddUser = {
clearable clearable
type="text" type="text"
placeholder="请输入用户名称" placeholder="请输入用户名称"
@keypress.enter="$table?.handleSearch" @keypress.enter="$table?.handleSearch()"
/> />
</QueryBarItem> </QueryBarItem>
<QueryBarItem label="邮箱" :label-width="40"> <QueryBarItem label="邮箱" :label-width="40">
@ -329,7 +329,7 @@ const validateAddUser = {
clearable clearable
type="text" type="text"
placeholder="请输入邮箱" placeholder="请输入邮箱"
@keypress.enter="$table?.handleSearch" @keypress.enter="$table?.handleSearch()"
/> />
</QueryBarItem> </QueryBarItem>
</template> </template>