mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-26 06:40:17 +08:00
refactor(projects): perf code
This commit is contained in:
@@ -32,7 +32,7 @@ export const useAppStore = defineStore(SetupStoreId.App, () => {
|
||||
*
|
||||
* @param duration Duration time
|
||||
*/
|
||||
async function reloadPage(duration = 0) {
|
||||
async function reloadPage(duration = 300) {
|
||||
setReloadFlag(false);
|
||||
|
||||
if (duration > 0) {
|
||||
|
||||
Reference in New Issue
Block a user