修复了意外产生xhr请求的错误
This commit is contained in:
parent
4d86b945cb
commit
f04d4d08f2
@ -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">
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user