diff --git a/README.md b/README.md index 3c4e8d808..2ee3b4ab6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -
logo
+
logo

一款高颜值、现代化的智能运维&轻量堡垒机平台。

@@ -101,16 +101,14 @@ type: undefined, status: undefined, startTimeRange: undefined, - limit: maxLimit.value, + limit: maxClearLimit, }; }; - const maxLimit = ref(0); const formModel = ref({}); // 打开 const open = (record: any) => { - maxLimit.value = maxClearLimit; renderForm({ ...defaultForm(), ...record }); setVisible(true); }; diff --git a/orion-visor-ui/src/views/exec/exec-command-log/components/exec-command-log-clear-modal.vue b/orion-visor-ui/src/views/exec/exec-command-log/components/exec-command-log-clear-modal.vue index 48e259655..47579815b 100644 --- a/orion-visor-ui/src/views/exec/exec-command-log/components/exec-command-log-clear-modal.vue +++ b/orion-visor-ui/src/views/exec/exec-command-log/components/exec-command-log-clear-modal.vue @@ -51,8 +51,8 @@ @@ -85,7 +85,6 @@ const { loading, setLoading } = useLoading(); const { toOptions } = useDictStore(); - const maxLimit = ref(0); const formModel = ref({}); const defaultForm = (): ExecLogQueryRequest => { @@ -96,13 +95,12 @@ command: undefined, status: undefined, startTimeRange: undefined, - limit: maxLimit.value, + limit: maxClearLimit, }; }; // 打开 const open = (record: any) => { - maxLimit.value = maxClearLimit; renderForm({ ...defaultForm(), ...record }); setVisible(true); }; diff --git a/orion-visor-ui/src/views/exec/upload-task/components/upload-task-clear-modal.vue b/orion-visor-ui/src/views/exec/upload-task/components/upload-task-clear-modal.vue index 06aa4ff66..ffbbea1e8 100644 --- a/orion-visor-ui/src/views/exec/upload-task/components/upload-task-clear-modal.vue +++ b/orion-visor-ui/src/views/exec/upload-task/components/upload-task-clear-modal.vue @@ -52,8 +52,8 @@ @@ -85,7 +85,6 @@ const { loading, setLoading } = useLoading(); const { toOptions } = useDictStore(); - const maxLimit = ref(0); const formModel = ref({}); const defaultForm = (): UploadTaskQueryRequest => { @@ -95,13 +94,12 @@ description: undefined, status: undefined, createTimeRange: undefined, - limit: maxLimit.value, + limit: maxClearLimit, }; }; // 打开 const open = (record: any) => { - maxLimit.value = maxClearLimit; renderForm({ ...defaultForm(), ...record }); setVisible(true); }; diff --git a/orion-visor-ui/src/views/job/exec-job-log/components/exec-job-log-clear-modal.vue b/orion-visor-ui/src/views/job/exec-job-log/components/exec-job-log-clear-modal.vue index 911c77be1..223d9ccf0 100644 --- a/orion-visor-ui/src/views/job/exec-job-log/components/exec-job-log-clear-modal.vue +++ b/orion-visor-ui/src/views/job/exec-job-log/components/exec-job-log-clear-modal.vue @@ -46,8 +46,8 @@ @@ -80,7 +80,6 @@ const { loading, setLoading } = useLoading(); const { toOptions } = useDictStore(); - const maxLimit = ref(0); const formModel = ref({}); const defaultForm = (): ExecLogQueryRequest => { @@ -91,13 +90,12 @@ command: undefined, status: undefined, startTimeRange: undefined, - limit: maxLimit.value, + limit: maxClearLimit, }; }; // 打开 const open = (record: any) => { - maxLimit.value = maxClearLimit; renderForm({ ...defaultForm(), ...record }); setVisible(true); }; diff --git a/orion-visor-ui/src/views/user/operator-log/components/operator-log-clear-modal.vue b/orion-visor-ui/src/views/user/operator-log/components/operator-log-clear-modal.vue index f531df944..42275e622 100644 --- a/orion-visor-ui/src/views/user/operator-log/components/operator-log-clear-modal.vue +++ b/orion-visor-ui/src/views/user/operator-log/components/operator-log-clear-modal.vue @@ -65,8 +65,8 @@ @@ -105,11 +105,10 @@ riskLevel: undefined, result: undefined, startTimeRange: undefined, - limit: maxLimit.value, + limit: maxClearLimit, }; }; - const maxLimit = ref(0); const typeOptions = ref(toOptions(operatorLogTypeKey)); const formModel = ref({}); @@ -117,7 +116,6 @@ // 打开 const open = (record: OperatorLogQueryRequest) => { - maxLimit.value = maxClearLimit; renderForm({ ...defaultForm(), ...record }); setVisible(true); };