mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-04 21:26:08 +08:00
Updated all the components to use emits to remove the warnings from the console.
This commit is contained in:
@@ -7,6 +7,8 @@ import { mapGetters } from 'vuex';
|
||||
import PriorityRow from './PriorityRow';
|
||||
|
||||
export default {
|
||||
emits: ['update:value'],
|
||||
|
||||
components: { PriorityRow },
|
||||
|
||||
props: {
|
||||
|
||||
@@ -6,6 +6,8 @@ import { mapGetters } from 'vuex';
|
||||
import { HCI } from '@pkg/harvester/types';
|
||||
|
||||
export default {
|
||||
emits: ['update:value', 'remove'],
|
||||
|
||||
components: { Select },
|
||||
|
||||
props: {
|
||||
|
||||
@@ -4,6 +4,8 @@ import { _EDIT, _VIEW } from '@shell/config/query-params';
|
||||
import { removeAt } from '@shell/utils/array';
|
||||
|
||||
export default {
|
||||
emits: ['update:value'],
|
||||
|
||||
props: {
|
||||
value: {
|
||||
type: Array,
|
||||
|
||||
@@ -9,6 +9,8 @@ import { _EDIT } from '@shell/config/query-params';
|
||||
import Priority from './Priority';
|
||||
|
||||
export default {
|
||||
emits: ['update:value'],
|
||||
|
||||
components: {
|
||||
LabeledSelect,
|
||||
LabeledInput,
|
||||
|
||||
@@ -13,6 +13,8 @@ import Selector from './Selector';
|
||||
export default {
|
||||
name: 'HarvesterIPPool',
|
||||
|
||||
emits: ['update:value'],
|
||||
|
||||
components: {
|
||||
NameNsDescription,
|
||||
ResourceTabs,
|
||||
|
||||
Reference in New Issue
Block a user