mirror of
https://github.com/cocos/cocos-engine.git
synced 2026-09-07 00:02:53 +08:00
4 lines
173 B
JavaScript
4 lines
173 B
JavaScript
---------------------------------
|
|
cc.path.changeExtname("a/b.png", ".plist"); //-->"a/b.plist"
|
|
cc.path.changeExtname("a/b.png?a=1&b=2", ".plist"); //-->"a/b.plist?a=1&b=2"
|