scorpio hace 3 años
padre
commit
f3096501ac
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/home/component/dash.vue

+ 1 - 1
src/views/home/component/dash.vue

@@ -14,7 +14,7 @@
           <span class="ml-15 sp1 mt-5">{{ item.projectNumber }}<span class="grey font-14 ml-5">个</span></span>
         </div>
       </div>
-      <base-button class="ml-20 mt-20" icon="Plus" title="新增" @click="showAdd = true"/>
+      <base-button v-if='permissions.permissions.projectAdd' class="ml-20 mt-20" icon="Plus" title="新增" @click="showAdd = true"/>
     </div>
     <avue-crud ref="crud"
                v-model="form"