浏览代码

www/webapp/housekeeping/

seam 7 年之前
父节点
当前提交
0a5722abaa

文件差异内容过多而无法显示
+ 0 - 0
www/webapp/housekeeping/home/static/css/app.css


文件差异内容过多而无法显示
+ 0 - 0
www/webapp/housekeeping/home/static/js/app.js


文件差异内容过多而无法显示
+ 0 - 0
www/webapp/housekeeping/home/static/js/app.js.map


文件差异内容过多而无法显示
+ 0 - 0
www/webapp/housekeeping/home/static/js/manifest.js.map


+ 4 - 10
www/webapp/housekeeping/src/components/houseKeeping/isreg.vue

@@ -16,21 +16,15 @@
       let storeId = '';
       let href = location.href;
       if (href.indexOf('storeId') > -1) {
-        storeId = href.split('=')[1];
-       /* console.log(storeId)
-        return*/
-
+        storeId = href.split('=')[2];
         _.$http('/j/JGEmpolyer/Register', {
           userId: _.user_id,
           storeId: storeId,
           isReg: true
         }, res => {
-          alert(href)
-          setTimeout(() => {
-            if (res.data.message === '未注册') {
-              that.$router.push({path: '/houseKeeping/login/', query: {storeId: storeId}});
-            }
-          }, 1000)
+          if (res.data.message === '未注册') {
+            that.$router.push({path: '/houseKeeping/login/', query: {storeId: storeId}});
+          }
         })
       } else {
         weui.alert('请重新扫二维码,进入本页面', function () {

部分文件因为文件数量过多而无法显示