补充oakExecutable判断

This commit is contained in:
lxy 2024-12-20 18:09:03 +08:00
parent 711a104c3f
commit cef216a873
4 changed files with 6 additions and 2 deletions

View File

@ -100,6 +100,7 @@ export default OakComponent({
...ele,
};
}),
oakExecutable: this.tryExecute(),
};
},
getTotal: 100,

View File

@ -31,6 +31,7 @@ export default OakComponent({
return {
wpProducts: data,
canCreate: legalActions?.includes('create'),
oakExecutable: this.tryExecute(),
};
},
actions: ['create', 'update', 'remove'],

View File

@ -107,6 +107,7 @@ export default OakComponent({
}
}
),
oakExecutable: this.tryExecute(),
};
},
getTotal: 100,

View File

@ -31,6 +31,7 @@ export default OakComponent({
return {
wpProducts: data,
canCreate: legalActions?.includes('create'),
oakExecutable: this.tryExecute(),
};
},
actions: ['create', 'update', 'remove'],