(fix):update user profile toast

This commit is contained in:
2026-08-18 03:27:42 +08:00
parent b556384025
commit e429b59077
7 changed files with 41 additions and 48 deletions
+2 -2
View File
@@ -511,8 +511,8 @@ $hmb_js = get_template_directory() . '/assets/js/header-newadd.js';
);
}
$user_center_deps = file_exists($identity_js)
? ['aksrt-script', 'aksrt-route-user-center-auth']
: ['aksrt-script'];
? ['aksrt-script', 'aksrt-route-user-center-auth', 'aksrt-notyf']
: ['aksrt-script', 'aksrt-notyf'];
if ($has_orders_panel && wp_script_is('aksrt-order-center', 'registered')) {
$user_center_deps[] = 'aksrt-order-center';
}