|
@@ -140,7 +140,7 @@ export default defineComponent({
|
|
|
const apiHandle = props.transfer.method === 'edit' ? that.$api.editNoticeEdit(params) : that.$api.addNoticeSave(params)
|
|
|
apiHandle.then(res => {
|
|
|
if (res.code === 200) {
|
|
|
- ElMessage.success(res.message)
|
|
|
+ ElMessage.success(props.transfer.method === 'edit' ? '保存成功!' : '发布成功!')
|
|
|
emit('update:show', false)
|
|
|
emit('refresh')
|
|
|
} else {
|