|
|
@ -341,10 +341,13 @@ |
|
|
|
}, |
|
|
|
// 导入后回调 |
|
|
|
importNormalCallback(res, fileuploadList) { |
|
|
|
// this.$confirm('<div style="max-height: 500px; overflow-y: auto;">' + yourLongContent + '</div>', '标题', { |
|
|
|
// dangerouslyUseHTMLString: true, // 允许HTML字符串作为内容 |
|
|
|
// }); |
|
|
|
// 导入功能,第一次调用时 ret.Status = true 并且 ret.Message 不为空时, 弹出确认对话框,显示ret.Message, |
|
|
|
// 如果选择是, 调用api/newjit/import-note/import,并且第二个参数forceExecute 传入true,选择否关闭 |
|
|
|
if (res.status && res.message && res.message.length > 0) { |
|
|
|
this.$confirm(`${res.message}, 是否确定继续导入`, '提示', { |
|
|
|
this.$confirm(`<div style="max-height: 500px; overflow-y: auto;">${res.message}, 是否确定继续导入</div>`, '提示', { |
|
|
|
confirmButtonText: '继续导入', |
|
|
|
cancelButtonText: '取消导入', |
|
|
|
type: 'warning' |
|
|
|