谢杰标 2 tahun lalu
induk
melakukan
f3ee8a5a7e
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      common/methodTool.js

+ 2 - 2
common/methodTool.js

@@ -770,12 +770,12 @@ export default {
       return true;
     }
     // #ifdef MP-WEIXIN
-    if (examLimitClient == 2) {
+    if (examLimitClient.includes("2")) {
       return true;
     }
     // #endif
     // #ifdef H5
-    if (examLimitClient == 1 && this.isWeixin()) {
+    if (examLimitClient.includes("1") && this.isWeixin()) {
       return true;
     }
     // #endif