修复空组导致 cocos creator 编辑器崩溃

This commit is contained in:
onvia 2023-09-14 17:08:20 +08:00
parent f4a7801d33
commit 34615d4b6e
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "ccc-tnt-psd2ui", "name": "ccc-tnt-psd2ui",
"version": "1.0.0", "version": "1.0.1",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@ -190,7 +190,7 @@ function reWriteVersion() {
cocosVersion = "v3.4.+" cocosVersion = "v3.4.+"
//cocosVersion = "v2.4.x" //cocosVersion = "v2.4.x"
const pluginVersion = "1.0.0"; // 打包之前记得修改这里的版本号第三位为只更新lib文件前两位为更新整个插件。 const pluginVersion = "1.0.1"; // 打包之前记得修改这里的版本号第三位为只更新lib文件前两位为更新整个插件。
console.log(`打包版本号为${pluginVersion}\n记得升级版本号~\n版本规则第三位为只更新lib文件前两位为更新整个插件。\n调用本脚本时,会自动赋值给插件版本号`); console.log(`打包版本号为${pluginVersion}\n记得升级版本号~\n版本规则第三位为只更新lib文件前两位为更新整个插件。\n调用本脚本时,会自动赋值给插件版本号`);