Initial commit

This commit is contained in:
libertyspy
2026-02-08 15:59:14 +08:00
parent 015030d650
commit 9ded6b757c
126 changed files with 2007 additions and 14912 deletions

View File

@@ -0,0 +1,32 @@
<template>
<a-layout-header class="ks-layout-header">
<a-flex>
<div class="ks-layout-header-logo">
<router-link :to="{path: '/app/decision/designer'}">行为决策树管理</router-link>
</div>
<div class="ks-layout-header-right">
<a-space size="large">
<span>{{ currentDateTime }}</span>
</a-space>
</div>
</a-flex>
</a-layout-header>
</template>
<script lang="ts" setup>
import { onUnmounted, ref } from 'vue';
import { formatDatetime } from '@/utils/datetime';
const currentDateTime = ref('');
const updateCurrentDateTime = () => {
currentDateTime.value = formatDatetime(new Date());
};
updateCurrentDateTime();
const timer = setInterval(updateCurrentDateTime, 1000);
onUnmounted(() => {
clearInterval(timer);
});
</script>