From d833be02575ff70d5fd3ba5e4333ce434090fe26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=93=BC=E5=94=A7L?= Date: Mon, 29 Jan 2024 14:11:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=A4=E4=B9=A6=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/book/book-add-or-update.vue | 26 ++++++++++++++++++- src/views/modules/medical/inherit.vue | 2 +- src/views/modules/medical/light.vue | 18 ++++++++----- 3 files changed, 37 insertions(+), 9 deletions(-) diff --git a/src/views/modules/book/book-add-or-update.vue b/src/views/modules/book/book-add-or-update.vue index ae8c10d..56b288c 100644 --- a/src/views/modules/book/book-add-or-update.vue +++ b/src/views/modules/book/book-add-or-update.vue @@ -75,10 +75,18 @@ 普通 中医经典 国学经典 - + + + + + + + + - + @@ -220,7 +220,7 @@ if (val == 1) { return '吴门之歌' } else if (val == 2) { - return '巴山夜雨' + return '巴山夜语' } else { return '吴门之徽' } @@ -242,6 +242,7 @@ }, // 新增 / 修改 editOrUpdateHandle(row) { + console.log(row) this.titlesub = '修改' // this.getbookname() this.editId = row.id @@ -256,7 +257,10 @@ } var attr = [] attr.push(img) - this.fileList = attr + if (attr[0].url != '') { + this.fileList = attr + } + console.log('this.fileList', this.fileList); this.addOrUpdateVisible = true