feat: linux文件排序

This commit is contained in:
meilin.huang
2022-09-26 18:08:12 +08:00
parent cfb7fd5b29
commit 2db4c20dd3
65 changed files with 76 additions and 65 deletions

View File

@@ -198,6 +198,7 @@ export default defineComponent({
};
const getSshTunnelMachine = (machineId: any) => {
notBlank(machineId, '请选择或先创建一台隧道机器');
return state.sshTunnelMachineList.find((x: any) => x.id == machineId);
};

View File

@@ -70,6 +70,7 @@ export default defineComponent({
foreground: getThemeConfig.value.terminalForeground || '#7e9192', //字体
background: getThemeConfig.value.terminalBackground || '#002833', //背景色
cursor: getThemeConfig.value.terminalCursor || '#268F81', //设置光标
// cursorAccent: "red", // 光标停止颜色
} as any,
});
const fitAddon = new FitAddon();

View File

@@ -204,8 +204,8 @@ export default defineComponent({
notBlank(state.scanParam.count, 'count不能为空');
const match = state.scanParam.match;
if (!match || match == '*') {
isTrue(state.scanParam.count <= 200, 'match为空或者*时, count不能超过200');
if (!match || (match as string).length < 4) {
isTrue(state.scanParam.count <= 200, 'key为空或小于4字符时, count不能超过200');
} else {
isTrue(state.scanParam.count <= 20000, 'count不能超过20000');
}