新旧拆分单对比--发起比对--新旧条款目录,展示不完整
This commit is contained in:
@@ -168,7 +168,20 @@ export default {
|
|||||||
this.$emit('ok')
|
this.$emit('ok')
|
||||||
this.close()
|
this.close()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$info({
|
||||||
|
closeable: true, // 展示右上角关闭
|
||||||
|
cancelText: '知道了',
|
||||||
|
title: '提示',
|
||||||
|
content: (h) => {
|
||||||
|
const contentArr = res.message.split('</br>')
|
||||||
|
const contentDomArr = []
|
||||||
|
for (const content of contentArr) {
|
||||||
|
contentDomArr.push(h('div', {}, content))
|
||||||
|
}
|
||||||
|
return contentDomArr
|
||||||
|
}
|
||||||
|
})
|
||||||
|
// this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.confirmLoading = false
|
this.confirmLoading = false
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
open (val) {
|
open (val) {
|
||||||
this.contentVisible = true
|
this.contentVisible = true
|
||||||
console.log(val)
|
|
||||||
this.contentValue = window.getHtml(val)
|
this.contentValue = window.getHtml(val)
|
||||||
},
|
},
|
||||||
handleCancel () {
|
handleCancel () {
|
||||||
@@ -43,4 +42,10 @@ export default {
|
|||||||
margin: 0 -24px;
|
margin: 0 -24px;
|
||||||
padding: 0 24px;
|
padding: 0 24px;
|
||||||
}
|
}
|
||||||
|
/deep/.word-table{
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
/deep/.wordImg{
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user