diff --git a/src/api/script.js b/src/api/script.js index b203a935e..9524987be 100644 --- a/src/api/script.js +++ b/src/api/script.js @@ -17,7 +17,7 @@ export function getScriptById(id) { method: 'get' }); } -/** 通过ID查询未发布剧本的详细信息 */ +/** 通过group查询未发布剧本的详细信息 */ export function getDraftScriptByGroup(group) { return request({ url: `/api/simulation/${group}/script/loadedScript`, @@ -25,6 +25,14 @@ export function getDraftScriptByGroup(group) { }); } +/** 通过group查询未发布剧本的详细信息(新版) */ +export function getDraftScriptByGroupNew(group) { + return request({ + url: `/api/scriptSimulation/${group}/scriptDetail`, + method: 'get' + }); +} + /** 剧本撤销发布 */ export function retractScript(id, data) { return request({ diff --git a/src/views/newMap/displayNew/demon/addQuest.vue b/src/views/newMap/displayNew/demon/addQuest.vue index b34ec5851..300eb3d38 100644 --- a/src/views/newMap/displayNew/demon/addQuest.vue +++ b/src/views/newMap/displayNew/demon/addQuest.vue @@ -51,7 +51,7 @@