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