fix: 云同步-同步实例任务执行详情按钮权限控制

This commit is contained in:
“huailei000”
2022-03-17 11:00:36 +08:00
committed by Jiangjie.Bai
parent b63d187f13
commit fb9896800a

View File

@@ -34,7 +34,8 @@ export default {
title: this.$t('xpack.Cloud.RunTaskManually'),
attrs: {
type: 'primary',
label: this.$t('xpack.Execute')
label: this.$t('xpack.Execute'),
disabled: !this.$hasPerm('xpack.add_syncinstancetaskexecution')
},
callbacks: {
click: function() {