|
@@ -129,7 +129,7 @@ const getFullScreen = () => {
|
|
|
* 确定退出
|
|
|
*/
|
|
|
const confirmExit = async () => {
|
|
|
- if (import.meta.env.APP_ENV != 'pro') {
|
|
|
+ if (import.meta.env.APP_ENV == 'pro') {
|
|
|
getClearTimer();
|
|
|
proxy?.$modal.msgSuccess('测试环境免密退出');
|
|
|
await proxy?.$http.common.logout({}).then((res: any) => { });
|