From 463b8998e5b63b81ed7c22ec5a51762792cb6ee1 Mon Sep 17 00:00:00 2001 From: nuintun Date: Mon, 23 Nov 2015 22:43:37 +0800 Subject: [PATCH] update files --- static/js/components/dynamic-item/index.js | 2 +- static/js/components/project-configure/index.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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 (){