mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
Loading: keep loading text sync with element-loading-text attribute #2272
This commit is contained in:
@@ -91,6 +91,7 @@ exports.install = Vue => {
|
||||
|
||||
update: function(el, binding) {
|
||||
if (binding.oldValue !== binding.value) {
|
||||
el.instance.setText(el.getAttribute('element-loading-text'));
|
||||
toggleLoading(el, binding);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user