Fix: Capitalize

This commit is contained in:
Lazy 2023-11-12 21:29:26 +08:00
parent 414f0f28ab
commit 649d0147d0
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ import UserStatusBlock from "@/widgets/UserStatusBlock.vue";
import UserInstanceList from "@/widgets/UserInstanceList.vue";
import ImageManager from "@/widgets/imageManager/index.vue";
import NewImage from "@/widgets/imageManager/NewImage.vue";
import Schedule from "@/widgets/instance/schedule.vue";
import Schedule from "@/widgets/instance/Schedule.vue";
import { NEW_CARD_TYPE } from "../types/index";
import { ROLE } from "./router";

View File

@ -51,8 +51,8 @@ const type = {
3: t("指定时间性任务")
};
const rendTime = (text: string, e: Schedule) => {
switch (e.type) {
const rendTime = (text: string, schedule: Schedule) => {
switch (schedule.type) {
case 1: {
const time = Number(text);
let s = time;