From ca23b87c0bedf168625d1fae4794fdcfa86d5380 Mon Sep 17 00:00:00 2001 From: zhao <2796247050@qq.com> Date: Fri, 19 Jul 2024 11:22:32 +0800 Subject: [PATCH] zyh --- .env.development | 1 + src/views/book/component/home.vue | 2 +- src/views/maku/t_book/add-or-update.vue | 6 +++++- src/views/maku/t_book/index.vue | 1 + src/views/maku/t_user/add-or-update.vue | 8 +------- src/views/maku/t_user/index.vue | 10 ++++++---- 6 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.env.development b/.env.development index 89c3055..0f545e6 100644 --- a/.env.development +++ b/.env.development @@ -3,3 +3,4 @@ # 使用【本地环境]接口地址 VITE_API_URL=http://localhost:8080 +# VITE_API_URL=http://192.168.31.134:8080 diff --git a/src/views/book/component/home.vue b/src/views/book/component/home.vue index 6968efa..7ec8193 100644 --- a/src/views/book/component/home.vue +++ b/src/views/book/component/home.vue @@ -25,7 +25,7 @@ for (let i = 0; i < totalBooks; i++) {
diff --git a/src/views/maku/t_book/add-or-update.vue b/src/views/maku/t_book/add-or-update.vue index 74d30bc..6b0fcfd 100644 --- a/src/views/maku/t_book/add-or-update.vue +++ b/src/views/maku/t_book/add-or-update.vue @@ -22,6 +22,9 @@ + + + @@ -77,7 +80,8 @@ const dataForm = reactive({ description: '', store: '', createTime: '', - updateTime: '' + updateTime: '', + category:'' }) const init = (id?: number) => { diff --git a/src/views/maku/t_book/index.vue b/src/views/maku/t_book/index.vue index aab66ab..c14ba02 100644 --- a/src/views/maku/t_book/index.vue +++ b/src/views/maku/t_book/index.vue @@ -37,6 +37,7 @@ + diff --git a/src/views/maku/t_user/add-or-update.vue b/src/views/maku/t_user/add-or-update.vue index 390fbde..a05cf33 100644 --- a/src/views/maku/t_user/add-or-update.vue +++ b/src/views/maku/t_user/add-or-update.vue @@ -11,17 +11,11 @@ - + - - - - - -