Comments (2)
挺好整一个
from uview-plus.
考虑到源码中本身已有 $emit('result')
来体现二维码生成的结果,可以通过这个回调来间接的判断当前是否是加载中状态,来进行自定义的loading效果处理,因此这个功能实际上也不是必须的
同时在实现这个功能时,还需要考虑存量用户的向下兼容问题 (部分用户可能已经props.showLoading: true
且自定义了props. loadingText
)
当然如果组件里内置loading,使用时相对来说还是会更方便一些,后续如果有更多的人参与讨论,有同样的需求的话,我会再来跟进这个功能的实现
from uview-plus.
Related Issues (20)
- 横向滚动组件,微信小程序编译后会有警告 HOT 1
- u-icon在微信中渲染报错
- Toast 组件显示的时候未开启遮掩层,但还是无法穿透点击,部分场景仅只是需要提示作用
- up-button 点击事件失效 HOT 2
- u-input组件监听modelValue的改变逻辑中,changeFromInner的判断是否有问题? HOT 1
- up-upload 组件为什么一次性只能选择传9个 HOT 2
- Empty 内容为空组件 icon未正常居中
- 支付宝小程序上 List 列表 的 List Events 中 scrolltolower无法触发
- upload slot编译bug
- upload 微信小程序 点击预览视频报错 HOT 1
- u-picker内部对默认值defaultIndex的监听,没有进行深度监听,导致无法处理接口数据获取默认值的情况
- ActionSheet 操作菜单cancelText属性不传时页面也加载出了取消按钮的dom,点击可以取消 HOT 1
- 怎么配置组件和class以及全局 $uv 都和uview2一样 HOT 2
- u-picker 组件BUG (version3.3.5) HOT 1
- u-number-box 组件修改【integer, decimalLength, min, max 】props时没有触发绑定值更新
- up-input编译到支付宝小程序时有个问题
- VS Code 的Vue-Official更新后所有组件类型丢失,可以进行更改吗?
- up-form封装成组件无法双向绑定,数据更新视图不更新,且有值的校验不通过 HOT 2
- up-popup在组件里面使用出现层级问题 目前仅在IOS系统使用有问题 HOT 4
- u-dropdown
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uview-plus.