From 98d1e88232bffc41f91f844f296835e278d76041 Mon Sep 17 00:00:00 2001 From: abearxiong Date: Tue, 20 May 2025 00:38:23 +0800 Subject: [PATCH] fix: bugs for default pkg appType is none --- src/apps/shop-list/PackageManager.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/shop-list/PackageManager.tsx b/src/apps/shop-list/PackageManager.tsx index fb54cd7..128d15e 100644 --- a/src/apps/shop-list/PackageManager.tsx +++ b/src/apps/shop-list/PackageManager.tsx @@ -57,7 +57,7 @@ export const PackageManager = () => { installPackage({ id: `${pkg.user}/${pkg.key}`, force: false, - type: pkg.appType || 'web', + type: pkg.appType || type || 'web', }); } };