修改bug

h5
ihzero 2023-08-04 15:12:36 +08:00
parent 5d8ea02811
commit a138db4ecf
4 changed files with 6 additions and 4 deletions

View File

@ -202,7 +202,7 @@ export const accountFormSchema: FormSchema[] = [
component: 'ApiSelect',
componentProps: {
api: async () => {
const res = await getKeywords({ key: 'device-supplier' })
const res = await getKeywords({ type_key: 'device-supplier' })
return res
},
labelField: 'name',
@ -216,7 +216,7 @@ export const accountFormSchema: FormSchema[] = [
component: 'ApiSelect',
componentProps: {
api: async () => {
const res = await getKeywords({ key: 'device-project' })
const res = await getKeywords({ type_key: 'device-project' })
return res
},
labelField: 'name',

View File

@ -1,11 +1,11 @@
<template>
<Box title="气象数据">
<template #center>
<!-- <div
<div
class="text-center bg-clip-text text-transparent bg-gradient-to-t from-[#76E9F0] to-[#A7E6EE] text-14px font-bold"
>
{{ currentTabValue }}
</div> -->
</div>
</template>
<template #right>
<div class="py-10px relative" v-if="tabList.length > 1">

View File

@ -134,6 +134,7 @@
function onMenuClick({ key }) {
if (Data.currentTab == key) return
Data.currentTab = key
getData()
}
async function getTabs() {

View File

@ -134,6 +134,7 @@
function onMenuClick({ key }) {
if (Data.currentTab == key) return
Data.currentTab = key
getData()
}
async function getTabs() {