diff --git a/package.json b/package.json index 83fb360..4a81cfa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aix-win", - "version": "2.1.28", + "version": "2.1.30", "description": "", "main": "./out/main/index.js", "author": "上海交大重庆人工智能研究院", diff --git a/src/renderer/src/api/file/index.js b/src/renderer/src/api/file/index.js index 64cfdfb..7d401d6 100644 --- a/src/renderer/src/api/file/index.js +++ b/src/renderer/src/api/file/index.js @@ -24,6 +24,13 @@ export const getPrepareById = (id) => { }) } +export const addFileToKj = (id) => { + return request({ + url: '/smarttalk/file/addFileToKj/' + id, + method: 'get' + }) +} + export function deleteSmarttalk(id) { return request({ url: '/smarttalk/file/' + id, diff --git a/src/renderer/src/views/prepare/container/file-list-item.vue b/src/renderer/src/views/prepare/container/file-list-item.vue index eeb77d0..8d9bc5f 100644 --- a/src/renderer/src/views/prepare/container/file-list-item.vue +++ b/src/renderer/src/views/prepare/container/file-list-item.vue @@ -126,6 +126,12 @@ 下载 +