|
@@ -266,7 +266,7 @@ export default defineComponent({
|
|
|
state.loading = true
|
|
|
that.$api.getNoticePublish({id: val.id}).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
- ElMessage.success(res.message)
|
|
|
+ ElMessage.success('发布成功!')
|
|
|
refreshSearch()
|
|
|
} else {
|
|
|
ElMessage.error(res.message)
|
|
@@ -286,7 +286,7 @@ export default defineComponent({
|
|
|
state.loading = true
|
|
|
that.$api.getNoticeRevoke({id: val.id}).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
- ElMessage.success(res.message)
|
|
|
+ ElMessage.success('撤回成功!')
|
|
|
refreshSearch()
|
|
|
} else {
|
|
|
ElMessage.error(res.message)
|