Showing
2 changed files
with
2 additions
and
2 deletions
| ... | @@ -143,8 +143,8 @@ const submitCommentBox = (note) => { | ... | @@ -143,8 +143,8 @@ const submitCommentBox = (note) => { |
| 143 | } | 143 | } |
| 144 | axios.post(`/srv/?a=${url}`, data) | 144 | axios.post(`/srv/?a=${url}`, data) |
| 145 | .then(res => { | 145 | .then(res => { |
| 146 | - if (res.data.code === 1) { | ||
| 147 | showCommentBoxPopup.value = false; | 146 | showCommentBoxPopup.value = false; |
| 147 | + if (res.data.code === 1) { | ||
| 148 | Toast.success('鍙戝竷鎴愬姛') | 148 | Toast.success('鍙戝竷鎴愬姛') |
| 149 | onReload() | 149 | onReload() |
| 150 | } else { | 150 | } else { | ... | ... |
| ... | @@ -171,8 +171,8 @@ const submitCommentBox = (note) => { | ... | @@ -171,8 +171,8 @@ const submitCommentBox = (note) => { |
| 171 | } | 171 | } |
| 172 | axios.post(`/srv/?a=${url}`, data) | 172 | axios.post(`/srv/?a=${url}`, data) |
| 173 | .then(res => { | 173 | .then(res => { |
| 174 | - if (res.data.code === 1) { | ||
| 175 | showCommentBoxPopup.value = false; | 174 | showCommentBoxPopup.value = false; |
| 175 | + if (res.data.code === 1) { | ||
| 176 | Toast.success('鍙戝竷鎴愬姛') | 176 | Toast.success('鍙戝竷鎴愬姛') |
| 177 | // 鍒锋柊鍒楄〃 | 177 | // 鍒锋柊鍒楄〃 |
| 178 | location.reload() | 178 | location.reload() | ... | ... |
-
Please register or login to post a comment