Showing
1 changed file
with
4 additions
and
4 deletions
... | ... | @@ -76,11 +76,11 @@ |
76 | 76 | emit('success'); |
77 | 77 | closeDrawer(); |
78 | 78 | createMessage.success('发布成功'); |
79 | + } catch { | |
80 | + } finally { | |
79 | 81 | setTimeout(() => { |
80 | 82 | sendDisable.value = false; |
81 | 83 | }, 300); |
82 | - } catch { | |
83 | - } finally { | |
84 | 84 | } |
85 | 85 | }; |
86 | 86 | // 保存草稿 |
... | ... | @@ -107,11 +107,11 @@ |
107 | 107 | emit('success'); |
108 | 108 | closeDrawer(); |
109 | 109 | createMessage.success('保存草稿成功'); |
110 | + } catch { | |
111 | + } finally { | |
110 | 112 | setTimeout(() => { |
111 | 113 | draftDisable.value = false; |
112 | 114 | }, 300); |
113 | - } catch { | |
114 | - } finally { | |
115 | 115 | } |
116 | 116 | }; |
117 | 117 | const handleCancel = () => { | ... | ... |