Browse Source

no message

linwenxin 1 year ago
parent
commit
ec9a5d7c7d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/mallManagement/setActivity/index.vue

+ 2 - 2
src/views/mallManagement/setActivity/index.vue

@@ -15,7 +15,7 @@
         </zj-form-container>
         <div slot="footer" class="dialog-footer">
           <el-button size="mini" @click="formCancel">取 消</el-button>
-          <el-button size="mini" type="primary" @click="formConfirm">确 定</el-button>
+          <el-button v-if="!formData.id" size="mini" type="primary" @click="formConfirm">确 定</el-button>
         </div>
       </el-dialog>
     </div>
@@ -354,7 +354,7 @@ export default {
           return (
             <div>
               <div>
-                <el-button type="primary" onClick={()=>{ this.showQuestion = true }}>新增</el-button>
+                {!this.formData.id?<el-button type="primary" onClick={()=>{ this.showQuestion = true }}>新增</el-button>:null}
               </div>
               <div>
                 <zj-table