| | |
| | | isReview.value = false; |
| | | } |
| | | if(type === 'add'){ |
| | | state.noticeForm.noticeContent = " "; |
| | | state.noticeForm.noticeTitle = " "; |
| | | reset() |
| | | } |
| | | dialogVisible.value = true; |
| | | } |
| | |
| | | } |
| | | emit("getList") |
| | | reset(); |
| | | // myEditor.value.clear(); |
| | | myEditor.value.clear(); |
| | | noticeRef.value.clearValidate(); |
| | | dialogVisible.value = false; |
| | | }else if(title.value === '编辑') { |
| | |
| | | } |
| | | emit("getList") |
| | | reset(); |
| | | // myEditor.value.clear(); |
| | | myEditor.value.clear(); |
| | | noticeRef.value.clearValidate(); |
| | | dialogVisible.value = false; |
| | | } |
| | |
| | | if(title ==="新增"|| title ==='编辑'){ |
| | | myEditor.value.clear(); |
| | | showEditor.value=false |
| | | |
| | | } |
| | | |
| | | noticeRef.value.clearValidate(); |