diff --git a/static/js/components/dynamic-item/index.js b/static/js/components/dynamic-item/index.js index 4d755a1..87ae696 100644 --- a/static/js/components/dynamic-item/index.js +++ b/static/js/components/dynamic-item/index.js @@ -95,7 +95,7 @@ module.exports = Vue.component('dynamic-item', { this.nameError = ''; this.valueError = ''; }, - 'reset-input': function (){ + 'reset-item-input': function (){ this.name = ''; this.value = ''; } diff --git a/static/js/components/project-configure/index.js b/static/js/components/project-configure/index.js index 3bed4de..ee5afa2 100644 --- a/static/js/components/project-configure/index.js +++ b/static/js/components/project-configure/index.js @@ -68,7 +68,7 @@ module.exports = Vue.component('project-configure', { // clean error this.$broadcast('reset-error'); // clean input - this.$broadcast('reset-input'); + this.$broadcast('reset-item-input'); } } }, @@ -80,7 +80,7 @@ module.exports = Vue.component('project-configure', { // clean error this.$broadcast('reset-error'); // clean input - this.$broadcast('reset-input'); + this.$broadcast('reset-item-input'); } }, events: { @@ -90,7 +90,7 @@ module.exports = Vue.component('project-configure', { // clean error this.$broadcast('reset-error'); // clean input - this.$broadcast('reset-input'); + this.$broadcast('reset-item-input'); } }, created: function (){