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:
@@ -5,6 +5,8 @@ import Tag from '@shell/components/Tag';
|
||||
export default {
|
||||
name: 'Tags',
|
||||
|
||||
emits: ['update:value'],
|
||||
|
||||
components: { Tag },
|
||||
|
||||
props: {
|
||||
|
||||
@@ -4,6 +4,8 @@ import LabeledSelect from '@shell/components/form/LabeledSelect.vue';
|
||||
export default {
|
||||
name: 'HarvesterFilterLabel',
|
||||
|
||||
emits: ['change-rows'],
|
||||
|
||||
components: { LabeledSelect },
|
||||
|
||||
props: {
|
||||
|
||||
@@ -6,6 +6,8 @@ import LabeledInput from '@components/Form/LabeledInput/LabeledInput.vue';
|
||||
export default {
|
||||
name: 'HarvesterFilterLabel',
|
||||
|
||||
emits: ['changeRows'],
|
||||
|
||||
components: {
|
||||
Select,
|
||||
ArrayList,
|
||||
|
||||
@@ -11,6 +11,8 @@ import Socket, {
|
||||
} from '@shell/utils/socket';
|
||||
|
||||
export default {
|
||||
emits: ['close'],
|
||||
|
||||
props: {
|
||||
value: {
|
||||
type: Object,
|
||||
|
||||
@@ -7,6 +7,8 @@ import ModalWithCard from '@shell/components/ModalWithCard';
|
||||
const PREFERED_SHORTCUT_KEYS = 'prefered-shortcut-keys';
|
||||
|
||||
export default {
|
||||
emits: ['close'],
|
||||
|
||||
components: {
|
||||
ModalWithCard, Banner, AsyncButton
|
||||
},
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
<script>
|
||||
export default {
|
||||
name: 'NovncConsoleItem',
|
||||
|
||||
emits: ['send-keys', 'update'],
|
||||
|
||||
props: {
|
||||
items: {
|
||||
|
||||
Reference in New Issue
Block a user