Commit 3e0fea61 by 匡雅琴

添加操作记录

1 parent c6ec73e5
<script setup lang="ts">
import {ref} from "vue"
</script>
<template>
<div>caozuojil</div>
</template>
<style lang="scss" scoped></style>
<script setup lang="ts"> <script setup lang="ts">
import { reactive, markRaw } from "vue"; import { reactive, markRaw } from "vue";
import ConfigIndex from "./configIndex.vue"; import ConfigIndex from "./ConfigIndex.vue";
import ModelIndex from "./modelIndex.vue"; import ModelIndex from "./ModelIndex.vue";
import OperationRecord from "./OperationRecord.vue";
type tabType = { type tabType = {
name: string; name: string;
...@@ -22,6 +23,10 @@ const tabData = reactive<tabType[]>([ ...@@ -22,6 +23,10 @@ const tabData = reactive<tabType[]>([
name: "公共模板", name: "公共模板",
tabComp: markRaw(ModelIndex), tabComp: markRaw(ModelIndex),
}, },
{
name: "操作记录",
tabComp: markRaw(OperationRecord),
},
]); ]);
let currentTab = reactive<Comp>({ let currentTab = reactive<Comp>({
...@@ -44,6 +49,7 @@ const switchTab = (tab: number) => { ...@@ -44,6 +49,7 @@ const switchTab = (tab: number) => {
> >
<el-tab-pane label="公共配置项配置"></el-tab-pane> <el-tab-pane label="公共配置项配置"></el-tab-pane>
<el-tab-pane label="公共模板配置"></el-tab-pane> <el-tab-pane label="公共模板配置"></el-tab-pane>
<el-tab-pane label="操作记录"></el-tab-pane>
</el-tabs> </el-tabs>
</el-aside> </el-aside>
<el-main> <el-main>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!