We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 \src\store\modules\multipleTab.ts 中 第62行中的 for (const tab of this.tabList) { const item = getRawRoute(tab); // Ignore the cache const needCache = !item.meta?.ignoreKeepAlive; if (!needCache) { return; } const name = item.name as string; cacheMap.add(name); } 此段代码中,for循环不应使用 return, 应使用 continue 结束本次循环,而不是结束整个循环, 此外 !item.meta?.ignoreKeepAlive; 中第一个!符号是否多余,因下行代码 !needCache
for (const tab of this.tabList) { const item = getRawRoute(tab); // Ignore the cache const needCache = !item.meta?.ignoreKeepAlive; if (!needCache) { return; } const name = item.name as string; cacheMap.add(name); }
The text was updated successfully, but these errors were encountered:
d62d0ca
No branches or pull requests
在 \src\store\modules\multipleTab.ts 中 第62行中的
for (const tab of this.tabList) { const item = getRawRoute(tab); // Ignore the cache const needCache = !item.meta?.ignoreKeepAlive; if (!needCache) { return; } const name = item.name as string; cacheMap.add(name); }
此段代码中,for循环不应使用 return, 应使用 continue 结束本次循环,而不是结束整个循环,
此外 !item.meta?.ignoreKeepAlive; 中第一个!符号是否多余,因下行代码 !needCache
The text was updated successfully, but these errors were encountered: