fix: bugs for default pkg appType is none

This commit is contained in:
熊潇 2025-05-20 00:38:23 +08:00
parent 10fb591405
commit 98d1e88232

View File

@ -57,7 +57,7 @@ export const PackageManager = () => {
installPackage({ installPackage({
id: `${pkg.user}/${pkg.key}`, id: `${pkg.user}/${pkg.key}`,
force: false, force: false,
type: pkg.appType || 'web', type: pkg.appType || type || 'web',
}); });
} }
}; };