Bläddra i källkod

feat:绑定手机号弹框插件log

yangfeng 4 månader sedan
förälder
incheckning
cab659fd56

+ 1 - 1
plugins/bind-phone-mobile/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@jy/plugin-bind-phone",
-  "version": "1.0.5",
+  "version": "1.0.6",
   "private": false,
   "description": "移动端绑定手机弹框插件",
   "files": [

+ 4 - 0
plugins/bind-phone-mobile/src/utils/directives/bind-phone.js

@@ -36,6 +36,10 @@ const BindPhoneDirective = {
 
       // 从cookie中获取是否绑定过手机号
       const needPhoneBound = Cookies.get('EXPERIENCESIGN') === 'experiencing'
+      console.log('是否需要绑定手机号:' + needPhoneBound)
+      console.log(
+        'cookie里EXPERIENCESIGN的值:' + Cookies.get('EXPERIENCESIGN')
+      )
       // 已绑定过手机号
       if (!needPhoneBound) {
         if (typeof next === 'function') {