mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
优化
This commit is contained in:
parent
45c88218ec
commit
8ada932c8c
@ -428,12 +428,12 @@ watch(
|
||||
|
||||
return Object.assign(
|
||||
{
|
||||
type: getType(url),
|
||||
progress: 100,
|
||||
uid: uuid()
|
||||
},
|
||||
old,
|
||||
{
|
||||
type: getType(url),
|
||||
url,
|
||||
preload: old.url == url ? old.preload : url // 防止重复预览
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user