@cc-component/cc-guide 1.2.2 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -336,7 +336,7 @@ export class GuideCenter {
336
336
 
337
337
  LoadSprite(sp: Sprite, param: string, callback?: () => void) {
338
338
  const path = param + '/spriteFrame'
339
- const bundleName = this.param.bundleName
339
+ const bundleName = this.param.bundleNameSprite
340
340
  const bundle = assetManager.getBundle(bundleName)
341
341
  const sprite = bundle.get(path, SpriteFrame)
342
342
  if (sprite) {
@@ -148,13 +148,13 @@ export class GuideModelComp {
148
148
 
149
149
 
150
150
  refesh() {
151
- Log.log("引导数据刷新", this._step)
151
+ Log.log("引导步骤-刷新前", this._step)
152
152
  while (this._step < this.prompts.length) {
153
153
  const prompt = this.prompts[this._step]
154
154
  if (prompt.is_finish) {
155
155
  this._step++
156
156
  } else {
157
- Log.log("引导数据刷新2", this._step)
157
+ Log.log("引导步骤-刷新后", this._step)
158
158
  return;
159
159
  }
160
160
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cc-component/cc-guide",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "engine": ">=3.8.6",
5
5
  "description": "系统组件添加常用扩展方法",
6
6
  "main": "index.ts",