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" />