From 599db8d37aa83a870ee9f4f2926057de6963b027 Mon Sep 17 00:00:00 2001 From: Kerwin1202 <958686489@qq.com> Date: Sun, 3 Mar 2024 09:52:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=98=BE=E7=A4=BA=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=EF=BC=88Closes=20#437=EF=BC=89=20(#451)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Kerwin --- .vscode/launch.json | 2 +- src/components/common/Setting/Keys.vue | 1 + src/components/common/Setting/User.vue | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index cbd43f67..045d32f7 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -15,7 +15,7 @@ "type": "node", "request": "launch", "name": "Launch Service Server", - "runtimeExecutable": "${workspaceFolder}/service/node_modules/.bin/esno", + "runtimeExecutable": "${workspaceFolder}/service/node_modules/.bin/tsx", "skipFiles": ["/**"], "program": "${workspaceFolder}/service/src/index.ts", "outFiles": ["${workspaceFolder}/service/**/*.js"], diff --git a/src/components/common/Setting/Keys.vue b/src/components/common/Setting/Keys.vue index f5bde273..cda556a1 100644 --- a/src/components/common/Setting/Keys.vue +++ b/src/components/common/Setting/Keys.vue @@ -93,6 +93,7 @@ const columns = [ title: 'Action', key: '_id', width: 220, + fixed: 'right', render(row: KeyConfig) { const actions: any[] = [] actions.push(h( diff --git a/src/components/common/Setting/User.vue b/src/components/common/Setting/User.vue index 63014d04..1c953929 100644 --- a/src/components/common/Setting/User.vue +++ b/src/components/common/Setting/User.vue @@ -96,7 +96,7 @@ const columns = [ title: 'limit switch', key: 'limit_switch', resizable: true, - width: 80, + width: 100, minWidth: 30, maxWidth: 100, render(row: any) { @@ -117,6 +117,7 @@ const columns = [ title: 'Action', key: '_id', width: 220, + fixed: 'right', render(row: any) { const actions: any[] = [] actions.push(h( @@ -290,7 +291,7 @@ onMounted(async () => { :pagination="pagination" :max-height="444" striped - :scroll-x="1260" + :scroll-x="1800" @update:page="handleGetUsers" />