|
@@ -298,8 +298,10 @@ export default {
|
|
|
isShow (newValue, oldValue) {
|
|
|
if (!newValue) {
|
|
|
this.$emit('close')
|
|
|
- this.$refs.imageSet.setFileList('')
|
|
|
- this.$refs.editor.setHtml('')
|
|
|
+ if (this.pageType == 'add') {
|
|
|
+ this.$refs.imageSet.setFileList('')
|
|
|
+ this.$refs.editor.setHtml('')
|
|
|
+ }
|
|
|
this.form = {
|
|
|
promoActiveSn: undefined,
|
|
|
title: '',
|