【修复】api部分参数错误

This commit is contained in:
chudong
2025-05-19 11:40:06 +08:00
parent 15c75521da
commit 37d19aceb4
65 changed files with 75 additions and 68 deletions

View File

@@ -94,7 +94,7 @@
}
.nodeHeaderTitleInput input:focus {
@apply border-[#1e83e9] bg-white text-[#333];
@apply border-[#1e83e9] text-[#333];
}
.nodeHeaderTitleEdit {

View File

@@ -33,7 +33,7 @@
/* 右侧配置区样式 */
.configPanel {
@apply flex flex-col w-[360px] min-w-[360px] bg-white z-10 rounded-lg;
@apply flex flex-col w-[360px] min-w-[360px] z-10 rounded-lg;
}
.configHeader {

View File

@@ -49,7 +49,7 @@ export default defineComponent({
onUnmounted(resetFlowData)
return () => (
<div class="flex flex-col w-full h-full" style={cssVars.value}>
<div class="w-full h-[6rem] px-[2rem] mb-[2rem] bg-white rounded-lg flex items-center gap-2 justify-between">
<div class="w-full h-[6rem] px-[2rem] mb-[2rem] rounded-lg flex items-center gap-2 justify-between">
<div class="flex items-center">
<NButton onClick={goBack}>
<NIcon class="mr-1">

View File

@@ -48,8 +48,6 @@ img {
}
.n-tabs-tab.n-tabs-tab--active {
background-color: #fff;
/* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
font-weight: 600;
width: 100%;
}

View File

@@ -121,8 +121,6 @@ export const useAuthApiManageStore = defineStore('auth-api-manage-store', () =>
}
return {
// 状态
times,
apiFormProps,
accessTypeMap,

View File

@@ -63,7 +63,7 @@
/* 子路由导航样式 */
.subRouteNav {
@apply mb-4 p-4 bg-white rounded-lg shadow-sm;
@apply mb-4 p-4 rounded-lg shadow-sm;
}
/* 子路由标题样式 */
@@ -73,5 +73,5 @@
/* 子路由面包屑样式 */
.breadcrumb {
@apply bg-white p-3 rounded-lg shadow-sm mb-4;
@apply p-3 rounded-lg shadow-sm mb-4;
}

View File

@@ -5,16 +5,16 @@ import { RouterView } from 'vue-router'
import { $t } from '@locales/index'
import { useThemeCssVar } from '@baota/naive-ui/theme'
import { MenuFoldOutlined, MenuUnfoldOutlined } from '@vicons/antd'
// import ThemeTips from '@baota/naive-ui/components/themeTips'
import { useController } from './useController'
import styles from './index.module.css'
// import ThemeTips from '@baota/naive-ui/components/themeTips'
export default defineComponent({
setup() {
// 获取控制器中的状态和方法
const { menuItems, menuActive, isCollapsed, toggleCollapse, handleExpand, handleCollapse, updateMenuActive } =
useController()
// 获取主题变量
const cssVars = useThemeCssVar(['cardColor', 'headerColor', 'contentColor'])

View File

@@ -81,7 +81,7 @@ export default defineComponent({
<NGrid cols="2 s:1 m:2" xGap={16} yGap={16}>
{channelConfigs.map((item) => (
<NGridItem key={item.type}>
<div class="flex justify-between items-center p-4 border rounded-md hover:shadow-sm transition-shadow">
<div class="flex justify-between items-center p-4 border border-[var(--n-border-color)] rounded-md hover:shadow-sm transition-shadow">
<div class="flex items-center">
<SvgIcon icon={`notify-${item.type}`} size="3rem" />
<div class="ml-4">

View File

@@ -43,7 +43,7 @@ export default defineComponent({
<div class="w-full">
<NCard>
<NTabs
class="bg-white rounded-2xl p-6"
class="rounded-2xl p-6"
type="segment"
v-model:value={activeTab.value}
size="large"