|
@@ -2,7 +2,7 @@
|
|
* @Author: PoJun
|
|
* @Author: PoJun
|
|
* @Date: 2023-12-14 15:56:24
|
|
* @Date: 2023-12-14 15:56:24
|
|
* @LastEditors: PoJun
|
|
* @LastEditors: PoJun
|
|
- * @LastEditTime: 2024-05-09 20:58:45
|
|
|
|
|
|
+ * @LastEditTime: 2024-05-10 14:40:24
|
|
* @Message: Nothing
|
|
* @Message: Nothing
|
|
*/
|
|
*/
|
|
export const logoutApp = async vm => {
|
|
export const logoutApp = async vm => {
|
|
@@ -26,6 +26,9 @@ export const logoutApp = async vm => {
|
|
export const checkAppUpdate = async needToast => {
|
|
export const checkAppUpdate = async needToast => {
|
|
try {
|
|
try {
|
|
const sysInfo = uni.getSystemInfoSync();
|
|
const sysInfo = uni.getSystemInfoSync();
|
|
|
|
+ if (sysInfo.osName.toLowerCase() !== "android") {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
const res = await uni.request({
|
|
const res = await uni.request({
|
|
url: "https://www.pgyer.com/apiv2/app/check",
|
|
url: "https://www.pgyer.com/apiv2/app/check",
|
|
data: {
|
|
data: {
|