hfxc226 2 年之前
父節點
當前提交
1edde6a0cf
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      src/views/operate/article/modules/BaseForm.vue

+ 5 - 1
src/views/operate/article/modules/BaseForm.vue

@@ -37,7 +37,7 @@
         label="父文章"
         :labelCol="labelCol"
         :wrapperCol="wrapperCol"
-        v-show="type==3||type==4||type==5"
+        v-show="type==3||type==4||type==5||type==6"
       >
         <a-select v-decorator="['parentId']" >
           <a-select-option
@@ -269,6 +269,10 @@ export default {
     handleCancel (values) {
       this.visible = false
       this.confirmLoading = false
+      this.content = ''
+      this.topFlag = ''
+      this.status = 1
+      this.picture = ''
       this.form.resetFields()
       if (this.BaseTool.Object.isNotBlank(values)) {
         this.$emit('ok', values)