File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -978,11 +978,19 @@ function syncMulDocument() {
978978 arr .push (v .id )
979979 }
980980 })
981- loadSharedApi ({ type: ' document' , systemType: apiType .value })
982- .putMulSyncDocument (id , arr , loading )
981+ MsgConfirm (t (' views.document.sync.confirmTitle' ), t (' views.document.sync.confirmMessage1' ), {
982+ confirmButtonText: t (' views.document.sync.label' ),
983+ confirmButtonClass: ' danger' ,
984+ })
983985 .then (() => {
984- MsgSuccess (t (' views.document.sync.successMessage' ))
985- getList ()
986+ loadSharedApi ({type: ' document' , systemType: apiType .value })
987+ .putMulSyncDocument (id , arr , loading )
988+ .then (() => {
989+ MsgSuccess (t (' views.document.sync.successMessage' ))
990+ getList ()
991+ })
992+ })
993+ .catch (() => {
986994 })
987995}
988996
You can’t perform that action at this time.
0 commit comments