1
0

fix: 修复删除按钮高亮颜色

This commit is contained in:
2025-09-12 10:17:01 +08:00
parent edf320205d
commit 23dba3eb06
5 changed files with 13 additions and 4 deletions

View File

@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="DataSourcePerFileMappings"> <component name="DataSourcePerFileMappings">
<file url="file://$APPLICATION_CONFIG_DIR$/consoles/db/a8b9cd0a-335e-42ae-991a-f2733200afbf/console.sql" value="a8b9cd0a-335e-42ae-991a-f2733200afbf" />
<file url="file://$APPLICATION_CONFIG_DIR$/consoles/db/f7d817dc-8c9c-479f-b469-583df17cb013/console.sql" value="f7d817dc-8c9c-479f-b469-583df17cb013" /> <file url="file://$APPLICATION_CONFIG_DIR$/consoles/db/f7d817dc-8c9c-479f-b469-583df17cb013/console.sql" value="f7d817dc-8c9c-479f-b469-583df17cb013" />
</component> </component>
</project> </project>

View File

@@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
nohup /home/ubuntu/jdk-17.0.16+8/bin/java -jar /home/ubuntu/app/leopard-server-1.0.0.jar --spring.profiles.active=build --spring.web.resources.static-locations=file:/home/ubuntu/app/web --logging.parent=/home/ubuntu/app > /dev/null 2>&1 & nohup /home/ubuntu/jdk-17.0.16+8/bin/java -jar /home/ubuntu/app/leopard-server-1.0.0.jar --spring.profiles.active=build --spring.web.resources.static-locations=file:/home/ubuntu/app/dist --logging.parent=/home/ubuntu/app > /dev/null 2>&1 &

View File

@@ -91,6 +91,16 @@ function TaskList() {
}, },
}, },
}, },
{
className: 'text-danger btn-deleted',
type: 'action',
label: '删除',
level: 'link',
actionType: 'ajax',
api: `get:${commonInfo.baseUrl}/task/remove/\${id}`,
confirmText: '确认删除任务记录<span class="text-lg font-bold mx-2">${name}</span>',
confirmTitle: '删除',
},
], ],
}, },
], ],

View File

@@ -103,7 +103,7 @@ function TaskScheduleList() {
confirmTitle: '恢复', confirmTitle: '恢复',
}, },
{ {
className: 'text-danger', className: 'text-danger btn-deleted',
type: 'action', type: 'action',
label: '删除', label: '删除',
level: 'link', level: 'link',

View File

@@ -99,7 +99,7 @@ function TaskTemplateList() {
}, },
}, },
{ {
className: 'text-danger', className: 'text-danger btn-deleted',
type: 'action', type: 'action',
label: '删除', label: '删除',
level: 'link', level: 'link',