BUG修复
This commit is contained in:
parent
33d7c8c96c
commit
b85b95e817
|
@ -8,7 +8,7 @@
|
||||||
http-equiv="Content-Security-Policy"
|
http-equiv="Content-Security-Policy"
|
||||||
content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:"
|
content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:"
|
||||||
/> -->
|
/> -->
|
||||||
<meta http-equiv="Content-Security-Policy" content="connect-src * blob: data:; frame-src 'self' *; default-src 'self' https://wzyzoss.eos-chongqing-3.cmecloud.cn/; script-src 'self' 'unsafe-eval' http://www.wiris.net 'unsafe-inline'; style-src 'self' 'unsafe-inline' http://www.wiris.net; media-src * blob:;img-src * 'self' data: blob:;font-src 'self' http://www.wiris.net;" />
|
<meta http-equiv="Content-Security-Policy" content="connect-src * blob: data:; frame-src 'self' *; default-src 'self' https://wzyzoss.eos-chongqing-3.cmecloud.cn/; script-src 'self' 'unsafe-eval' http://www.wiris.net 'unsafe-inline'; style-src 'self' 'unsafe-inline' http://www.wiris.net; media-src * blob:;img-src * 'self' data: blob:;font-src 'self' http://www.wiris.net data:;" />
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,8 @@
|
||||||
const percentage = ref(0);
|
const percentage = ref(0);
|
||||||
const outlineCreatePPT = () => {
|
const outlineCreatePPT = () => {
|
||||||
const newOutlineData = { ...outlineData.value, };
|
const newOutlineData = { ...outlineData.value, };
|
||||||
newOutlineData.outline = props.dataList.outline;
|
let outline = JSON.parse(props.dataList.outline).json
|
||||||
|
newOutlineData.outline = JSON.stringify(outline);
|
||||||
newOutlineData.query = "通过传入大纲帮我生成相应的PPT课件"
|
newOutlineData.query = "通过传入大纲帮我生成相应的PPT课件"
|
||||||
createPPTLoading.value = true;
|
createPPTLoading.value = true;
|
||||||
createPptByOutline(newOutlineData).then((res) => {
|
createPptByOutline(newOutlineData).then((res) => {
|
||||||
|
|
|
@ -66,7 +66,6 @@ const pptSlides = ref([])
|
||||||
emitter.on('onResult', (data)=>{
|
emitter.on('onResult', (data)=>{
|
||||||
console.log(data)
|
console.log(data)
|
||||||
result.value = data
|
result.value = data
|
||||||
result.value.outline = JSON.parse(data.outline).json
|
|
||||||
if (!!result.value.parentId) {
|
if (!!result.value.parentId) {
|
||||||
listEntpcoursefileNew({parentid: result.value.parentId}).then(res=>{
|
listEntpcoursefileNew({parentid: result.value.parentId}).then(res=>{
|
||||||
pptSlides.value = res.rows
|
pptSlides.value = res.rows
|
||||||
|
|
Loading…
Reference in New Issue