Commit 54a29e83 authored by imyzf's avatar imyzf Committed by 杨奕

Loading: updating loading text regardless of binding value change

parent e467da07
......@@ -90,8 +90,8 @@ exports.install = Vue => {
},
update: function(el, binding) {
if (binding.oldValue !== binding.value) {
el.instance.setText(el.getAttribute('element-loading-text'));
if (binding.oldValue !== binding.value) {
toggleLoading(el, binding);
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment