Giter Site home page Giter Site logo

lucaszhu2zgf / mp-progress Goto Github PK

View Code? Open in Web Editor NEW
108.0 2.0 24.0 747 KB

专注于小程序圆环形进度条的小工具

License: MIT License

JavaScript 100.00%
miniprogram miniprograms wechat wechat-mini-program progress progress-bar progressbar circle progress-circle

mp-progress's People

Contributors

dependabot[bot] avatar lucaszhu2zgf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mp-progress's Issues

小程序偶发显示不全

作者你好,首先非常感谢你开发的这么好的插件。
我在开发中遇到了偶发的圆环没有显示到canvas里的问题。请问如何解决?
企业微信截图_20230317145943

找到了解决方法!!!!
原因是 初始化percentage为0,调用请求接口然后this.setData({percentage:xx})改变了percentage的值,就会偶发出现如上这种渲染不全的问题。解决方法是在请求接口后改变percentage值的时候加了个500ms的setTimout 就不会出现这样的渲染不全的问题了。希望对大家有帮助

小程序后台显示异常 Cannot read properties of null (reading \'node\')

你好,在小程序 We 分析后台 > 性能 > JS 里,会发现有类似下面的异常:

Cannot read properties of null (reading 'node')
TypeError: Cannot read properties of null (reading 'node')
at Object. (https://components/mp-progress/progress.min.js:2:2030)
at https://lib/WASubContext.js:1:417693
at pe (https://lib/WASubContext.js:1:294190)
at de (https://lib/WASubContext.js:1:293933)
at https://lib/WASubContext.js:1:294858

progress.min.js:2:2030 代码段,大概是下面的位置:

i.select("#".concat(this._options.canvasId)).node(function(t){var e=t.node;

希望能排查下是什么原因,

canvas转image

因为canvas在页面滚动的时候会抖动,所以想转成image,有没有canvas绘制完成的回调呢?

taro中显示不出来。

taro中显示不出来。
错误:An SelectorQuery call is ignored because no proper page or component is found. Please considering using SelectorQuery.in to specify a proper one.

添加进度点问题

ReferenceError: barWidth is not defined
at index.js? [sm]:60
at MpProgress.draw (index.js? [sm]:31)
at Se.onReady (index.js:158)
at Se. (VM560 WAService.js:2)
at Se.p.callPageLifeTime (VM560 WAService.js:2)
at VM560 WAService.js:2
at Function. (VM560 WAService.js:2)
at VM560 WAService.js:2
at VM560 WAService.js:2
at VM560 WAService.js:2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.