|
@@ -9944,13 +9944,18 @@ export default {
|
|
|
},
|
|
|
getPaste() {
|
|
|
let iframe = top.document.querySelectorAll("#AIChat iframe")[0];
|
|
|
- if (!iframe) {
|
|
|
+ let iframe2 = top.document.querySelectorAll("#AIChat aigpt")[0];
|
|
|
+ if (!iframe && !iframe2) {
|
|
|
return;
|
|
|
}
|
|
|
- let copyData = iframe.contentWindow.copyData;
|
|
|
+ let copyData = iframe ? iframe.contentWindow.copyData : '';
|
|
|
+ let copyData2 = iframe2 ? iframe2.contentWindow.copyData : '';
|
|
|
if (copyData && copyData.stageData && copyData.stageData.length) {
|
|
|
this.isPasteStage = true
|
|
|
}
|
|
|
+ if (copyData2 && copyData2.stageData && copyData2.stageData.length) {
|
|
|
+ this.isPasteStage = true
|
|
|
+ }
|
|
|
if (copyData && copyData.selectData.length) {
|
|
|
this.isPasteChoice = true
|
|
|
}
|