重构 DirectoryCard 组件,替换 VPathField 为 PathInput;删除不再使用的 PathField 组件;更新 CronInput 组件以支持 v-model 绑定;添加 CronField 组件以简化 CRON 表达式输入

This commit is contained in:
jxxghp
2025-01-11 20:20:05 +08:00
parent 3023214072
commit 88c86f49bf
6 changed files with 77 additions and 21 deletions

View File

@@ -93,6 +93,7 @@ const renderComponent = (config: any, model: any, slotScope: any = {}) => {
<template>
<!-- 调用递归渲染函数 -->
<div>
<component :is="renderComponent(config, model)" />
<Component v-if="config.html" :is="config.component" v-bind="config.props" v-html="config.html" />
<Component v-else :is="renderComponent(config, model)" />
</div>
</template>