File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed
src/uni_modules/wot-design-uni/components/wd-loadmore Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -20,5 +20,5 @@ export const loadmoreProps = {
2020 /**
2121 * 加载失败的提示文案
2222 */
23- errorText : makeStringProp ( '加载失败,点击重试' )
23+ errorText : String
2424}
Original file line number Diff line number Diff line change 22 <view :class =" ['wd-loadmore', customClass]" :style =" customStyle" @click =" reload" >
33 <wd-divider v-if =" state === 'finished'" >{{ finishedText || translate('finished') }}</wd-divider >
44 <block v-if =" state === 'error'" >
5- <block v-if =" errorText" >
6- {{ errorText }}
7- </block >
8- <block v-else >
9- <text class =" wd-loadmore__text" >{{ translate('error') }}</text >
10- <text class =" wd-loadmore__text is-light" >{{ translate('retry') }}</text >
11- <wd-icon name =" refresh" custom-class =" wd-loadmore__refresh" />
12- </block >
5+ <text class =" wd-loadmore__text" >{{ errorText || translate('error') }} </text >
6+ <text class =" wd-loadmore__text is-light" >{{ translate('retry') }}</text >
7+ <wd-icon name =" refresh" custom-class =" wd-loadmore__refresh" />
138 </block >
149 <block v-if =" state === 'loading'" >
1510 <wd-loading custom-class =" wd-loadmore__loading" />
You can’t perform that action at this time.
0 commit comments