little-wheels 1.2.7 → 1.2.9
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.
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +4 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -1999,14 +1999,16 @@ class Jn {
|
|
|
1999
1999
|
return n;
|
|
2000
2000
|
const a = async (s) => {
|
|
2001
2001
|
const y = s.attributes.type[0] || 0;
|
|
2002
|
-
if (Number(y)
|
|
2002
|
+
if (Number(y) === 3)
|
|
2003
2003
|
return s;
|
|
2004
|
+
if (Number(y) === 1)
|
|
2005
|
+
return n;
|
|
2004
2006
|
if (s.parentId) {
|
|
2005
2007
|
const P = await ie(this).getGroupDetail({ id: s.parentId });
|
|
2006
2008
|
if (P)
|
|
2007
2009
|
return a(P);
|
|
2008
2010
|
}
|
|
2009
|
-
return
|
|
2011
|
+
return n;
|
|
2010
2012
|
};
|
|
2011
2013
|
return a(n);
|
|
2012
2014
|
}
|