diff --git a/frontend/src/components/ScriptTable.vue b/frontend/src/components/ScriptTable.vue index 6082e60..dc119b3 100644 --- a/frontend/src/components/ScriptTable.vue +++ b/frontend/src/components/ScriptTable.vue @@ -292,7 +292,6 @@ const handleDeleteUser = (user: User) => { \ No newline at end of file + diff --git a/frontend/src/views/Scripts.vue b/frontend/src/views/Scripts.vue index 6600eef..c8d3dbc 100644 --- a/frontend/src/views/Scripts.vue +++ b/frontend/src/views/Scripts.vue @@ -216,33 +216,6 @@ const handleRefresh = () => { background-clip: text; } -.add-button { - height: 48px; - padding: 0 24px; - font-size: 16px; - font-weight: 600; - border-radius: 12px; - box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3); - transition: all 0.3s ease; -} - -.add-button:hover { - transform: translateY(-2px); - box-shadow: 0 6px 16px rgba(24, 144, 255, 0.4); -} - -.refresh-button { - height: 48px; - padding: 0 24px; - font-size: 16px; - font-weight: 500; - border-radius: 12px; - border: 2px solid var(--ant-color-border); - background: var(--ant-color-bg-container); - color: var(--ant-color-text); - transition: all 0.3s ease; -} - /* 脚本类型选择弹窗样式 */ .type-select-modal :deep(.ant-modal-content) { border-radius: 16px; diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 574cf3d..404ad04 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -6,7 +6,11 @@ "outDir": "dist-electron", "rootDir": "electron", "esModuleInterop": true, - "types": ["node", "electron"] + "types": ["node", "electron"], + "baseUrl": ".", + "paths": { + "@/*": ["src/*"] + } }, "include": ["electron"] }