修复了意外产生xhr请求的错误

This commit is contained in:
ZtRXR 2023-08-28 21:35:22 +08:00
parent 4d86b945cb
commit f04d4d08f2
3 changed files with 2 additions and 13 deletions

View File

@ -50,7 +50,6 @@ const testAndSearch = ()=>{
:model="formLabelAlign"
style="max-width: 460px"
@keydown.enter="testAndSearch"
@submit.native.prevent
>
<el-form-item label="查询方法">
<el-radio-group v-model="formLabelAlign.method" label="label position">

View File

@ -1,12 +1,7 @@
<script setup lang="ts">
import QqazkTop from "~/components/tools/qqazk/QqazkTop.vue";
interface Ret{
data:any
message:string
haveMess:boolean
}
let mess:Ret = await $fetch('/api/tools/qqazk/search')
</script>
<template>

View File

@ -1,12 +1,7 @@
<script setup lang="ts">
import QqazkSearchBox from "~/components/tools/qqazk/QqazkSearchBox.vue";
interface Ret{
data:any
message:string
haveMess:boolean
}
const api = await $fetch('/api/tools/qqazk/search')
</script>
<template>