BUG修复
This commit is contained in:
parent
5d7533e2ab
commit
afa1fd2f8d
|
@ -35,7 +35,7 @@ export default defineConfig({
|
|||
target: 'http://27.128.240.72:7865',
|
||||
// target: 'https://prev.ysaix.com:7868/prod-api/',
|
||||
// target: 'http://36.134.181.164:7863',
|
||||
// target: 'http://192.168.0.102:7865',
|
||||
// target: 'http://192.168.2.237:7865',
|
||||
changeOrigin: true,
|
||||
rewrite: (p) => p.replace(/^\/dev-api/, '')
|
||||
},
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "aix-win-ws",
|
||||
"version": "2.5.14",
|
||||
"version": "2.5.15",
|
||||
"description": "",
|
||||
"main": "./out/main/index.js",
|
||||
"author": "上海交大重庆人工智能研究院",
|
||||
|
|
|
@ -153,8 +153,12 @@ const openAiPPT = async () =>{
|
|||
let parentid = result.value.parentId
|
||||
const res = await getEntpcoursefile(parentid)
|
||||
if (res && res.code === 200) {
|
||||
const smarttalk = getSmarttalkPage({fileId: parentid})
|
||||
openPublicScreen('edit', res.data, smarttalk.resData) // 打开公屏-窗口
|
||||
const smarttalk = await getSmarttalkPage({fileId: parentid})
|
||||
if (smarttalk && smarttalk.rows.length>0) {
|
||||
openPublicScreen('edit', res.data, smarttalk.rows[0]) // 打开公屏-窗口
|
||||
}else {
|
||||
ElMessage.warning(res.msg||'没有查询到课件!')
|
||||
}
|
||||
} else {
|
||||
ElMessage.warning(res.msg||'文件获取异常!')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue