hide Enable CPU Pinning for v1.3x

This commit is contained in:
andy.lee 2024-11-13 14:17:43 +08:00
parent b4bfcee057
commit 5ae560c8cf
No known key found for this signature in database
GPG Key ID: 10911689462678C7
2 changed files with 5 additions and 0 deletions

View File

@ -433,6 +433,7 @@ export default {
<div class="spacer"></div>
<Checkbox
v-if="value.cpuPinningFeatureEnabled"
v-model="cpuPinning"
class="check"
type="checkbox"

View File

@ -51,6 +51,10 @@ export default class HciVmTemplate extends HarvesterResource {
});
}
get cpuPinningFeatureEnabled() {
return this.$rootGetters['harvester-common/getFeatureEnabled']('cpuPinning');
}
addVersion(moreQuery = {}) {
const router = this.currentRouter();