fix: 修复删除文件异步通知
This commit is contained in:
parent
4e365d5802
commit
ac421e1161
@ -1004,7 +1004,7 @@ export default {
|
||||
}
|
||||
if ('deleteFile' === url) {
|
||||
if (index > -1) {
|
||||
this.fileList.splice(index, 1)
|
||||
this.getFileList()
|
||||
}
|
||||
}
|
||||
if ('createFile' === url) {
|
||||
|
||||
@ -47,11 +47,11 @@ function connect(username,token){
|
||||
message: `
|
||||
<div>
|
||||
<p>form:</p>
|
||||
<pre style="word-break: break-all;white-space: pre-wrap;">${doc.from}</pre>
|
||||
<pre style="word-break: break-all;white-space: pre-wrap;font-size: 12px;">${doc.from}</pre>
|
||||
</div>
|
||||
<div>
|
||||
<p>to:</p>
|
||||
<pre style="word-break: break-all;white-space: pre-wrap;">${doc.to}</pre>
|
||||
<pre style="word-break: break-all;white-space: pre-wrap;font-size: 12px;">${doc.to}</pre>
|
||||
</div>`,
|
||||
type: 'success',
|
||||
});
|
||||
@ -59,7 +59,7 @@ function connect(username,token){
|
||||
Bus.$notify({
|
||||
title: `${doc.operation}失败`,
|
||||
dangerouslyUseHTMLString: true,
|
||||
message: `<span>${doc.msg}</span>`,
|
||||
message: `<span style="font-size: 12px;">${doc.msg}</span>`,
|
||||
type: 'error'
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user