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:
+2
@@ -13,6 +13,8 @@ const _NONE = '_NONE';
|
||||
export default {
|
||||
components: { YamlEditor, LabeledSelect },
|
||||
|
||||
emits: ['updateTemplateId', 'show', 'update'],
|
||||
|
||||
props: {
|
||||
mode: {
|
||||
type: String,
|
||||
|
||||
@@ -13,6 +13,8 @@ import DataTemplate from './DataTemplate';
|
||||
const _NEW = '_NEW';
|
||||
|
||||
export default {
|
||||
emits: ['updateUserData', 'updateNetworkData', 'updateDataTemplateId'],
|
||||
|
||||
components: {
|
||||
DataTemplate, YamlEditor, LabeledInput, ModalWithCard
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user