mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-01-18 15:04:04 +08:00
Fix: warning tip
This commit is contained in:
parent
01c5d70438
commit
34b0949a19
@ -6,7 +6,7 @@ import { watch } from "vue";
|
||||
import { useOverviewInfo } from "@/hooks/useOverviewInfo";
|
||||
import type { JsonData } from "../types/index";
|
||||
|
||||
const props = defineProps<{
|
||||
defineProps<{
|
||||
card: LayoutCard;
|
||||
}>();
|
||||
|
||||
|
@ -389,7 +389,7 @@ const editDialog = ref({
|
||||
cancel-text="No"
|
||||
@confirm="deleteNode()"
|
||||
>
|
||||
<a-button danger v-if="editMode" key="delete">{{ t("TXT_CODE_8b937b23") }}</a-button>
|
||||
<a-button v-if="editMode" key="delete" danger>{{ t("TXT_CODE_8b937b23") }}</a-button>
|
||||
</a-popconfirm>
|
||||
<div class="right">
|
||||
<a-button key="back" @click="editDialog.hidden()">{{ t("TXT_CODE_a0451c97") }}</a-button>
|
||||
|
@ -4,11 +4,11 @@ import { t } from "@/lang/i18n";
|
||||
import type { LayoutCard } from "@/types";
|
||||
import { computed } from "vue";
|
||||
|
||||
const props = defineProps<{
|
||||
defineProps<{
|
||||
card: LayoutCard;
|
||||
}>();
|
||||
|
||||
const { state, isLoading } = useOverviewInfo();
|
||||
const { state } = useOverviewInfo();
|
||||
|
||||
const columns = [
|
||||
{
|
||||
|
@ -3,19 +3,11 @@ import ActionButton from "@/components/ActionButton.vue";
|
||||
import { t } from "@/lang/i18n";
|
||||
import type { LayoutCard } from "@/types";
|
||||
import { router } from "@/config/router";
|
||||
import {
|
||||
BuildFilled,
|
||||
DropboxOutlined,
|
||||
DropboxSquareFilled,
|
||||
GoldFilled,
|
||||
SwitcherFilled,
|
||||
UserOutlined
|
||||
} from "@ant-design/icons-vue";
|
||||
import { remoteNodeList } from "@/services/apis";
|
||||
import { BuildFilled, DropboxSquareFilled, SwitcherFilled } from "@ant-design/icons-vue";
|
||||
import { QUICKSTART_ACTION_TYPE } from "@/hooks/widgets/quickStartFlow";
|
||||
import FadeUpAnimation from "@/components/FadeUpAnimation.vue";
|
||||
|
||||
const props = defineProps<{
|
||||
defineProps<{
|
||||
card: LayoutCard;
|
||||
}>();
|
||||
|
||||
|
@ -6,7 +6,7 @@ import { watch } from "vue";
|
||||
import { useOverviewInfo } from "@/hooks/useOverviewInfo";
|
||||
import type { JsonData } from "../types/index";
|
||||
|
||||
const props = defineProps<{
|
||||
defineProps<{
|
||||
card: LayoutCard;
|
||||
}>();
|
||||
|
||||
|
@ -2,12 +2,11 @@
|
||||
import LeftMenusPanel from "@/components/LeftMenusPanel.vue";
|
||||
import { getCurrentLang, t } from "@/lang/i18n";
|
||||
import type { LayoutCard, Settings } from "@/types";
|
||||
import { onMounted, ref, h } from "vue";
|
||||
import { onMounted, ref } from "vue";
|
||||
import { message } from "ant-design-vue";
|
||||
import {
|
||||
BankOutlined,
|
||||
BookOutlined,
|
||||
CodepenOutlined,
|
||||
GithubOutlined,
|
||||
LockOutlined,
|
||||
ProjectOutlined,
|
||||
|
@ -2,7 +2,7 @@
|
||||
import { useLayoutCardTools } from "@/hooks/useCardTools";
|
||||
import { useOverviewInfo } from "@/hooks/useOverviewInfo";
|
||||
import { t } from "@/lang/i18n";
|
||||
import type { JsonData, LayoutCard } from "@/types";
|
||||
import type { LayoutCard } from "@/types";
|
||||
import { computed } from "vue";
|
||||
|
||||
const props = defineProps<{
|
||||
|
@ -89,9 +89,9 @@ onMounted(() => {
|
||||
>
|
||||
<template #bodyCell="{ column, record }">
|
||||
<template v-if="column.key === 'operate'">
|
||||
<a-button @click="operate(record.serviceUuid, record.uuid)">{{
|
||||
t("TXT_CODE_5974bf24")
|
||||
}}</a-button>
|
||||
<a-button @click="operate(record.serviceUuid, record.uuid)">
|
||||
{{ t("TXT_CODE_5974bf24") }}
|
||||
</a-button>
|
||||
</template>
|
||||
</template>
|
||||
</a-table>
|
||||
|
@ -115,9 +115,9 @@ onMounted(async () => {
|
||||
<a-list-item v-if="item.check">
|
||||
<a-list-item-meta>
|
||||
<template #title>
|
||||
<a-tag v-if="item.conflict" color="warning">{{
|
||||
t("TXT_CODE_1af148fe")
|
||||
}}</a-tag>
|
||||
<a-tag v-if="item.conflict" color="warning">
|
||||
{{ t("TXT_CODE_1af148fe") }}
|
||||
</a-tag>
|
||||
{{ item.fileName }}
|
||||
</template>
|
||||
<template #description>
|
||||
|
@ -11,7 +11,7 @@ import { message } from "ant-design-vue";
|
||||
import { TERMINAL_CODE } from "@/types/const";
|
||||
import { INSTANCE_TYPE_TRANSLATION } from "@/hooks/useInstance";
|
||||
import { useAppRouters } from "@/hooks/useAppRouters";
|
||||
import dayjs, { Dayjs } from "dayjs";
|
||||
import { Dayjs } from "dayjs";
|
||||
import _ from "lodash";
|
||||
import { GLOBAL_INSTANCE_NAME } from "../../../config/const";
|
||||
import { dayjsToTimestamp, timestampToDayjs } from "../../../tools/time";
|
||||
|
Loading…
Reference in New Issue
Block a user