mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-01 03:36:04 +08:00
Updated all the components to use emits to remove the warnings from the console.
This commit is contained in:
@@ -4,6 +4,8 @@ import LabeledSelect from '@shell/components/form/LabeledSelect';
|
||||
import RadioGroup from '@components/Form/Radio/RadioGroup';
|
||||
|
||||
export default {
|
||||
emits: ['enabled'],
|
||||
|
||||
components: {
|
||||
LabeledInput,
|
||||
LabeledSelect,
|
||||
|
||||
@@ -6,6 +6,8 @@ import { clone } from '@shell/utils/object';
|
||||
import Select from '@shell/components/form/Select';
|
||||
|
||||
export default {
|
||||
emits: ['update:value'],
|
||||
|
||||
components: { Select },
|
||||
props: {
|
||||
value: {
|
||||
|
||||
@@ -25,6 +25,8 @@ const PROJECT_SELECTOR = 'loadbalancer.harvesterhci.io/project';
|
||||
export default {
|
||||
name: 'HarvesterLoadBalancer',
|
||||
|
||||
emits: ['update:value'],
|
||||
|
||||
components: {
|
||||
NameNsDescription,
|
||||
ResourceTabs,
|
||||
|
||||
Reference in New Issue
Block a user