ElemeFE / vue-desktop

A UI library for building admin panel website.
547 stars 99 forks source link

loading-mask 无法修改text #40

Closed execs2 closed 8 years ago

execs2 commented 8 years ago

报错 Data field "text" is already defined as a prop. To provide default value for a prop, use the "default" prop option; if you want to pass prop values to an instantiation call, use the "propsData" option

修改vue-desktop/src/service/loading-mask.vue 82 行 props改为data可解决问题

furybean commented 8 years ago

@Leopoldthecoder

Leopoldthecoder commented 8 years ago

@fu122zh 已更新,版本为 0.2.23。现在可以在打开 loading-mask 时传入 text:

LoadingMask.open('请稍等');
execs2 commented 8 years ago

thanks~