From 3cd9f003ae893abe2483ab3ce0a62bfbd9fa8554 Mon Sep 17 00:00:00 2001
From: zs <zhousong@weben-smart.com>
Date: 周一, 05 5月 2025 18:04:15 +0800
Subject: [PATCH] 库存后端修改
---
HIAWms/web/src/components/Tab/TabPane.tsx | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/HIAWms/web/src/components/Tab/TabPane.tsx b/HIAWms/web/src/components/Tab/TabPane.tsx
new file mode 100644
index 0000000..04f8609
--- /dev/null
+++ b/HIAWms/web/src/components/Tab/TabPane.tsx
@@ -0,0 +1,22 @@
+import { defineComponent, SetupContext, PropType } from 'vue'
+import styles from './Tab.module.scss'
+
+export default defineComponent({
+ name: 'TabPane',
+ props: {
+ label: {
+ type: String as PropType<string>,
+ },
+ name: {
+ type: String as PropType<string>,
+ },
+ // 娣诲姞鍏朵粬灞炴��
+ },
+ setup(props: any, ctx: SetupContext) {
+ return () => (
+ <el-tab-pane class={styles.pane} label={props.label} name={props.name}>
+ {ctx.slots.default && ctx.slots.default()}
+ </el-tab-pane>
+ )
+ },
+})
--
Gitblit v1.9.3