Commit f30f2f48 authored by liujiangnan's avatar liujiangnan

fix: 进度条不显示问题

parent 3ed0d56e
......@@ -237,7 +237,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
const typeNode = cc.find(`Canvas/usercenter/view/content/scollpage/${type}_node/typebg`);
// 现在规定死5个级别
for (let i = 1; i <= 5; i++) {
const prcss = resProcess[i];
const prcss = resProcess[i-1];
if(prcss) {
cc.find(`L${i}/percent`, typeNode).getComponent(cc.Label).string = prcss.process + "%";
const maxLen = cc.find(`L${i}`, typeNode).width
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment