|
@@ -8075,8 +8075,12 @@ export default {
|
|
|
//自动获取剪贴板
|
|
|
pasteOption() {
|
|
|
let iframe = top.document.querySelectorAll("#AIChat iframe")[0]
|
|
|
+ if(!iframe){
|
|
|
+ this.$message.error("请使用AI共创生成题目")
|
|
|
+ return;
|
|
|
+ }
|
|
|
let copyData = iframe.contentWindow.copyData
|
|
|
- if(!iframe || !copyData || !copyData.selectData.length){
|
|
|
+ if(!copyData || !copyData.selectData.length){
|
|
|
this.$message.error("请使用AI共创生成题目")
|
|
|
return;
|
|
|
}
|
|
@@ -9388,6 +9392,7 @@ export default {
|
|
|
.source_diy >>> .el-dialog{
|
|
|
height: 100% !important;
|
|
|
margin: 0 auto !important;
|
|
|
+ background: #e6eaf0;
|
|
|
}
|
|
|
|
|
|
.source_diy >>> .el-dialog__body{
|