File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 4747 :checked =" shrinkOk"
4848 @change =" val => { shrinkOk = val }" />
4949 </a-form-item >
50+ <a-form-item name =" autoMigrate" ref =" autoMigrate" :label =" $t('label.automigrate.volume')" >
51+ <template #label >
52+ <tooltip-label :title =" $t('label.automigrate.volume')" :tooltip =" apiParams.automigrate.description" />
53+ </template >
54+ <a-switch
55+ v-model:checked =" form.autoMigrate"
56+ :checked =" autoMigrate"
57+ @change =" val => { autoMigrate = val }" />
58+ </a-form-item >
5059 <div :span =" 24" class =" action-button" >
5160 <a-button @click =" closeModal" >{{ $t('label.cancel') }}</a-button >
5261 <a-button :loading =" loading" type =" primary" ref =" submit" @click =" handleSubmit" >{{ $t('label.ok') }}</a-button >
5867import { ref , reactive , toRaw } from ' vue'
5968import { api } from ' @/api'
6069import { mixinForm } from ' @/utils/mixin'
70+ import TooltipLabel from ' @/components/widgets/TooltipLabel'
6171
6272export default {
6373 name: ' ResizeVolume' ,
74+ components: {
75+ TooltipLabel
76+ },
6477 mixins: [mixinForm],
6578 props: {
6679 resource: {
You can’t perform that action at this time.
0 commit comments