fix(工作台): bug 修复
This commit is contained in:
parent
aa87693393
commit
aebfa5b17a
|
@ -292,7 +292,10 @@
|
|||
function getListItemByDataIndex(dataIndex: string) {
|
||||
return [...currentConfigList.value, ...(props.customList || [])].find((item) => item.dataIndex === dataIndex);
|
||||
}
|
||||
async function getUserViewDetail(id: string) {
|
||||
async function getUserViewDetail(id?: string) {
|
||||
if (!id) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
const res = await getViewDetail(props.viewType, id);
|
||||
// 全部数据默认显示搜索条件
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="work-bench-content">
|
||||
<div class="header-setting pb-[4px]">
|
||||
<div
|
||||
class="setting sticky top-0 z-[999999] mb-[-16px] flex items-center justify-between bg-[var(--color-bg-3)] pb-[16px]"
|
||||
class="setting sticky top-0 z-[999] mb-[-16px] flex items-center justify-between bg-[var(--color-bg-3)] pb-[16px]"
|
||||
>
|
||||
<div class="flex items-center gap-[8px]">
|
||||
<a-radio-group
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="flex flex-col gap-[16px]">
|
||||
<template v-if="appStore.projectList.length > 0">
|
||||
<div
|
||||
class="sticky top-0 z-[999999] mb-[-16px] flex items-center justify-end gap-[12px] bg-[var(--color-bg-3)] pb-[16px]"
|
||||
class="sticky top-0 z-[999] mb-[-16px] flex items-center justify-end gap-[12px] bg-[var(--color-bg-3)] pb-[16px]"
|
||||
>
|
||||
<MsProjectSelect
|
||||
v-model:project="currentProject"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="flex flex-col gap-[16px]">
|
||||
<template v-if="appStore.projectList.length > 0">
|
||||
<div
|
||||
class="sticky top-0 z-[999999] mb-[-16px] flex items-center justify-end gap-[12px] bg-[var(--color-bg-3)] pb-[16px]"
|
||||
class="sticky top-0 z-[999] mb-[-16px] flex items-center justify-end gap-[12px] bg-[var(--color-bg-3)] pb-[16px]"
|
||||
>
|
||||
<MsProjectSelect
|
||||
v-model:project="currentProject"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="flex flex-col gap-[16px]">
|
||||
<template v-if="appStore.projectList.length > 0">
|
||||
<div
|
||||
class="sticky top-0 z-[999999] mb-[-16px] flex items-center justify-end gap-[12px] bg-[var(--color-bg-3)] pb-[16px]"
|
||||
class="sticky top-0 z-[999] mb-[-16px] flex items-center justify-end gap-[12px] bg-[var(--color-bg-3)] pb-[16px]"
|
||||
>
|
||||
<MsProjectSelect
|
||||
v-model:project="currentProject"
|
||||
|
|
Loading…
Reference in New Issue