修改bug
parent
5d8ea02811
commit
a138db4ecf
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -134,6 +134,7 @@
|
|||
function onMenuClick({ key }) {
|
||||
if (Data.currentTab == key) return
|
||||
Data.currentTab = key
|
||||
getData()
|
||||
}
|
||||
|
||||
async function getTabs() {
|
||||
|
|
|
|||
|
|
@ -134,6 +134,7 @@
|
|||
function onMenuClick({ key }) {
|
||||
if (Data.currentTab == key) return
|
||||
Data.currentTab = key
|
||||
getData()
|
||||
}
|
||||
|
||||
async function getTabs() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue