增加core.js的提示

This commit is contained in:
shijian 2023-12-28 01:06:14 +08:00
parent 56f489f6c8
commit 931c9a5dda
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
"use strict";
new Promise(resolve => {
// 客户端自带core.js的请注意跟进
if ('__core-js_shared__' in window) resolve(null);
else {
const nonameInitialized = localStorage.getItem('noname_inited');