mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-03 00:41:15 +00:00
feat(monitor): 添加任务管理模块
- 在 README 中添加了 Celery 任务管理的说明 - 在系统菜单中添加了任务管理相关菜单项 - 添加了任务管理的路由和权限 - 引入了 croniter 库用于处理 cron 表达式
This commit is contained in:
@@ -9,10 +9,14 @@ import './style.css'
|
||||
import { createPinia } from 'pinia';
|
||||
import { useConfigStore } from "@/store/index";
|
||||
|
||||
import VueCron from 'vue-cron'; // 确保已经正确安装并定位到正确的路径
|
||||
// import 'vue-cron/dist/vue-cron.css'; // 引入样式
|
||||
|
||||
const app = createApp(App);
|
||||
const pinia = createPinia();
|
||||
|
||||
app.use(pinia);
|
||||
app.use(VueCron);
|
||||
|
||||
const initConfig = async () => {
|
||||
const configStore = useConfigStore();
|
||||
|
||||
Reference in New Issue
Block a user