shengbingg 2 years ago
parent
commit
33457682f7
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/pages/main/advertising/materiel.vue

+ 4 - 4
src/pages/main/advertising/materiel.vue

@@ -303,16 +303,16 @@
                 </el-form>
 
                 <div slot="footer" class="dialog-footer myfooter">
-                    <!-- <el-button
+                    <el-button
                         type="primary"
                         @click="dialogCli(2)"
-                        v-if="titname !== '查看'"
+                        v-if="titname === '修改'"
                         >确 定</el-button
-                    > -->
+                    >
                     <el-button
                         type="primary"
                         @click="xintianjia()"
-                        v-if="titname !== '查看'"
+                        v-if="titname === '添加'"
                         >确 定</el-button
                     >
                     <el-button @click="dialogCli(1)" v-if="titname === '查看'"