提交 22162d0a 编写于 作者: 张敬贤's avatar 张敬贤

add

上级 64e87efc
...@@ -107,8 +107,8 @@ ...@@ -107,8 +107,8 @@
title="查看详情" title="查看详情"
:visible.sync="dialogVisible" :visible.sync="dialogVisible"
width="70%" width="70%"
:before-close="dialogVisible=false"> :before-close="handleClose">
<div>{{ currentRow.content }}</div> <div v-html="currentRow.content"></div>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button type="primary" @click="dialogVisible = false">确 定</el-button> <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
</span> </span>
...@@ -185,7 +185,10 @@ export default { ...@@ -185,7 +185,10 @@ export default {
mounted: function() { mounted: function() {
commonUtil.resizeHeight() commonUtil.resizeHeight()
}, },
methods: { methods: {
handleClose() {
this.dialogVisible = false;
},
info(row) { info(row) {
console.log(row); console.log(row);
this.currentRow = row; this.currentRow = row;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册