Commit e3a10032 authored by 何虹's avatar 何虹 💬

优化

parent 7514eeda
......@@ -11,7 +11,7 @@
name="hsDialogIframe"
:src='pageSrc'
style="width:100%;height:600px;padding-top:10px"
sandbox="allow-downloads allow-same-origin allow-scripts allow-forms allow-top-navigation allow-popups"
sandbox="allow-popups-to-escape-sandbox allow-downloads allow-same-origin allow-scripts allow-forms allow-top-navigation allow-popups"
></iframe>
</div>
</hs-dialog>
......
......@@ -8,6 +8,7 @@
@open='handleOpen'
:close-on-click-modal="false"
:fullscreen='configData.fullscreen'
:modal-append-to-body='false'
:append-to-body="true"
:before-close="handleClose"
:destroy-on-close='true'
......
......@@ -130,15 +130,21 @@
>新增</el-button>
</div>
</div>
<hsIframeDialog ref='appIframePageBoxA'></hsIframeDialog>
<!-- <hsIframeDialog ref='appIframePageBoxA'></hsIframeDialog> -->
</el-dialog>
<!-- <hs-dialog-iframepage
ref='appIframePageBox'
@webChartConfigQuery='webChartConfigQuery'
@webChartConfigSave='webChartConfigSave'
@saveAsDataToLocal='saveAsDataToLocal'
/> -->
<el-dialog
title="提示"
:visible.sync="dialogVisible"
width="30%"
:append-to-body='true'
:before-close="handleClose">
<span>这是一段信息</span>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false">取 消</el-button>
<el-button type="primary" @click="dialogVisible = false">确 定</el-button>
</span>
</el-dialog>
</div>
</template>
<script>
......@@ -148,7 +154,7 @@ import _ from 'lodash'
import hsIframeDialog from '../../hs-iframe-dialog/src/index.vue'
export default {
mixins: [commonMixins],
components:{
components: {
hsIframeDialog
},
name: 'select-list-component',
......@@ -269,15 +275,19 @@ export default {
pagingRight: null,
leftTabeData: [],
pagingLeft: null,
dialogWidth: '95%'
dialogWidth: '95%',
dialogVisible: false
}
},
methods: {
handleClose() {},
/**
* 数据导入 item 当前点击的按钮
* @param {*} item
*/
async showAddPage() {
this.dialogVisible = true
return
this.isChange = false
const configData = this.$listeners.dealWithConfig(
this.configData,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment