1
0

feat: 优化界面,增加AI依赖

This commit is contained in:
2025-11-28 15:02:10 +08:00
parent a36d195d4d
commit ce603c6598
6 changed files with 26 additions and 52 deletions

View File

@@ -203,7 +203,6 @@ function Book() {
{
name: 'description',
label: '描述',
width: 250,
},
{
label: '创建时间',
@@ -223,6 +222,7 @@ function Book() {
type: 'action',
label: '详情',
level: 'link',
size: 'sm',
onEvent: {
click: {
actions: [
@@ -250,6 +250,7 @@ function Book() {
type: 'action',
label: '删除',
level: 'link',
size: 'sm',
actionType: 'ajax',
api: `get:${commonInfo.baseUrl}/chapter/remove/\${id}`,
confirmText: '确认删除章节<span class="text-lg font-bold mx-2">${name}</span>',

View File

@@ -107,7 +107,7 @@ function Bookshelf() {
{
name: 'description',
label: '描述',
width: 250,
width: 500,
},
{
name: 'source',
@@ -130,13 +130,14 @@ function Bookshelf() {
{
type: 'operation',
label: '操作',
width: 150,
width: 180,
fixed: 'right',
buttons: [
{
type: 'action',
label: '详情',
level: 'link',
size: 'sm',
onEvent: {
click: {
actions: [
@@ -172,6 +173,7 @@ function Bookshelf() {
type: 'action',
label: '删除',
level: 'link',
size: 'sm',
actionType: 'ajax',
api: `get:${commonInfo.baseUrl}/book/remove/\${id}`,
confirmText: '确认删除书籍<span class="text-lg font-bold mx-2">${name}</span>',

View File

@@ -159,6 +159,7 @@ function Chapter() {
type: 'action',
label: '删除',
level: 'link',
size: 'sm',
actionType: 'ajax',
api: `get:${commonInfo.baseUrl}/line/remove/\${id}`,
confirmText: '确认删除行?',