作者 xiaoqiu

删除了授权码弹窗

@@ -171,32 +171,6 @@ function getCookie() { @@ -171,32 +171,6 @@ function getCookie() {
171 rememberMe: rememberMe === undefined ? false : Boolean(rememberMe), 171 rememberMe: rememberMe === undefined ? false : Boolean(rememberMe),
172 }; 172 };
173 } 173 }
174 -onMounted(() => {  
175 - let newDate = Date.now();  
176 - let dateTime = new Date("2024-11-30 00:00:00").getTime();  
177 - if (localStorage.getItem("bxht-auth") === "authSuccess") {  
178 - return "";  
179 - }  
180 - if (newDate > dateTime) {  
181 - ElMessageBox.confirm("请后台输入授权码", {  
182 - confirmButtonText: "确认",  
183 - cancelButtonText: "取消",  
184 - })  
185 - .then(() => {  
186 - localStorage.setItem("bxht-auth", "authSuccess");  
187 - ElMessage({  
188 - type: "success",  
189 - message: `已通知管理员`,  
190 - });  
191 - })  
192 - .catch(() => {  
193 - ElMessage({  
194 - type: "info",  
195 - message: "已取消",  
196 - });  
197 - });  
198 - }  
199 -});  
200 getCode(); 174 getCode();
201 getCookie(); 175 getCookie();
202 </script> 176 </script>