diff --git a/src/components/CronModal/index.vue b/src/components/CronModal/index.vue
index abd76ff7..5a7adf60 100644
--- a/src/components/CronModal/index.vue
+++ b/src/components/CronModal/index.vue
@@ -3,7 +3,7 @@
:drag="true"
:destroyOnClose="true"
:title="t('components.CronModal.title')"
- :visible="props.visible"
+ :open="props.open"
:body-style="{ padding: '0 24px' }"
@cancel="fnCronModal(false)"
@ok="fnCronModal(true)"
@@ -35,6 +35,7 @@
{
.iti .iti__country-container .iti__search-input {
padding: 4px 8px;
}
+
+.iti .ant-input {
+ box-sizing: border-box;
+ margin: 0;
+ font-variant: tabular-nums;
+ list-style: none;
+ font-feature-settings: 'tnum';
+ position: relative;
+ display: inline-block;
+ width: 100%;
+ min-width: 0;
+ padding: 4px 11px;
+ color: #000000d9;
+ font-size: 14px;
+ line-height: 1.5715;
+ background-color: transparent;
+ background-image: none;
+ border: 1px solid #424242;
+ border-radius: 6px;
+ transition: all 0.3s;
+}
+.iti .ant-input:focus,
+.iti .ant-input-focused {
+ border-color: var(--ant-primary-color-hover);
+ box-shadow: 0 0 0 2px var(--ant-primary-color-outline);
+ border-right-width: 1px !important;
+ outline: 0;
+}
diff --git a/src/components/TableColumnsDnd/index.vue b/src/components/TableColumnsDnd/index.vue
index c1433926..403af120 100644
--- a/src/components/TableColumnsDnd/index.vue
+++ b/src/components/TableColumnsDnd/index.vue
@@ -2,7 +2,6 @@
import { reactive, watch, onMounted, PropType, nextTick } from 'vue';
import { Container, Draggable } from 'vue3-smooth-dnd';
import useI18n from '@/hooks/useI18n';
-import { type ColumnsType } from 'ant-design-vue/lib/table';
import { dbGetJSON, dbSetJSON } from '@/utils/cache-db-utils';
import { CACHE_DB_TABLE_DND } from '@/constants/cache-keys-constants';
const { t, currentLocale } = useI18n();
@@ -37,7 +36,7 @@ const props = defineProps({
});
/**表格字段列 */
-const tableColumns = reactive(props.columns);
+const tableColumns = reactive(props.columns);
/**表格字段列勾选状态 */
const state = reactive<{
@@ -56,7 +55,9 @@ const state = reactive<{
function fnTableColumnsCheckAllChange(e: any) {
const checked = e.target.checked;
state.indeterminate = false;
- state.columnsTitleList = checked ? tableColumns.map(s => `${s.title}`) : [];
+ state.columnsTitleList = checked
+ ? tableColumns.map(s => `${s.title as string}`)
+ : [];
}
/**表格字段列拖拽操作 */
diff --git a/src/components/TerminalTelnet/index.vue b/src/components/TerminalTelnet/index.vue
index ef2625f3..cf4dca7d 100644
--- a/src/components/TerminalTelnet/index.vue
+++ b/src/components/TerminalTelnet/index.vue
@@ -1,5 +1,5 @@