lyb-pixi-js 1.12.77 → 1.12.79

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.
@@ -24,6 +24,8 @@ export class LibPixiDialogManager {
24
24
  * @param args 实例参数
25
25
  */
26
26
  open(View, id, ...args) {
27
+ if (this._views[id])
28
+ return this._views[id];
27
29
  const view = new View(...args);
28
30
  this._openContainer.addChild(view);
29
31
  this._views[id] = view;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lyb-pixi-js",
3
- "version": "1.12.77",
3
+ "version": "1.12.79",
4
4
  "description": "自用Pixi.JS方法库",
5
5
  "license": "ISC",
6
6
  "exports": {