权限修复

dev_2022-06-14
yujialong 2 years ago
parent ae043cb947
commit 7a47bb1c12
  1. 4
      src/views/match/add/index.vue

@ -135,8 +135,8 @@
</el-form-item>
<el-form-item>
<el-button v-if="!form.id" @click="save(0)">保存</el-button>
<el-button type="primary" @click="save(1)">发布</el-button>
<el-button type="danger" @click="preview">预览</el-button>
<el-button type="primary" @click="save(1)" v-auth="'/match:管理:大赛详情:发布'">发布</el-button>
<el-button type="danger" @click="preview" v-auth="'/match:管理:大赛详情:预览'">预览</el-button>
</el-form-item>
</el-form>
</div>

Loading…
Cancel
Save