From 6072fd53bde3869b4a173cabbc57c6088dd83506 Mon Sep 17 00:00:00 2001 From: xuwei-fit2cloud Date: Mon, 15 Apr 2024 15:26:46 +0800 Subject: [PATCH 01/12] fix: typos --- ui/src/utils/message.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/src/utils/message.ts b/ui/src/utils/message.ts index 357a83aa..f762d5a8 100644 --- a/ui/src/utils/message.ts +++ b/ui/src/utils/message.ts @@ -40,26 +40,26 @@ export const MsgError = (message: string) => { /** * 删除知识库 - * @param 参数 message: {title, decription,type} + * @param 参数 message: {title, description,type} */ -export const MsgConfirm = (title: string, decription: string, options?: any) => { +export const MsgConfirm = (title: string, description: string, options?: any) => { const defaultOptions: Object = { showCancelButton: true, confirmButtonText: '确定', cancelButtonText: '取消', ...options } - return ElMessageBox.confirm(decription, title, defaultOptions) + return ElMessageBox.confirm(description, title, defaultOptions) } -// export const MsgConfirm = ({ title, decription }: any, options?: any) => { +// export const MsgConfirm = ({ title, description }: any, options?: any) => { // const message: any = h('div', { class: 'app-confirm' }, [ // h('h4', { class: 'app-confirm-title flex align-center' }, [ // h(ElIcon, { class: 'icon' }, [h(WarningFilled)]), // h('span', { class: 'ml-16' }, title) // ]), -// h('div', { class: 'app-confirm-decription mt-8' }, decription) +// h('div', { class: 'app-confirm-description mt-8' }, description) // ]) // const defaultOptions: Object = { From 895ba2f47a23a32a9316e63a2138f710b6e8e9b3 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Mon, 15 Apr 2024 15:24:42 +0800 Subject: [PATCH 02/12] =?UTF-8?q?docs:=20=E4=BF=AE=E5=A4=8D=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E4=B8=AD=E7=9A=84=E9=94=99=E5=88=AB=E5=AD=97=20(#80)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 0f5e744f..dbe48e7e 100644 --- a/main.py +++ b/main.py @@ -18,7 +18,7 @@ django.setup() def collect_static(): """ 收集静态文件到指定目录 - 本项目主要是将前端vue/dist的前段项目放到静态目录下面 + 本项目主要是将前端vue/dist的前端项目放到静态目录下面 :return: """ logging.info("Collect static files") From feb408101668b9f0c123cbdc9ae227c5ca46effd Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 15 Apr 2024 15:35:27 +0800 Subject: [PATCH 03/12] =?UTF-8?q?fix(dataset):=20=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/views/dataset/CreateDataset.vue | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/ui/src/views/dataset/CreateDataset.vue b/ui/src/views/dataset/CreateDataset.vue index 7a55bd96..8a83efea 100644 --- a/ui/src/views/dataset/CreateDataset.vue +++ b/ui/src/views/dataset/CreateDataset.vue @@ -3,23 +3,6 @@ -