李志伟 пре 3 година
родитељ
комит
f7bec4362f
5 измењених фајлова са 14 додато и 9 уклоњено
  1. 1
    1
      package.json
  2. 1
    1
      src/main.js
  3. 0
    3
      src/pages/signup.vue
  4. 1
    0
      src/utils/initial.js
  5. 11
    4
      yarn.lock

+ 1
- 1
package.json Прегледај датотеку

@@ -16,7 +16,7 @@
16 16
     "vant": "^2.12.44",
17 17
     "vue": "^2.6.11",
18 18
     "vue-router": "^3.0.1",
19
-    "vuex": "^3.6.2"
19
+    "vuex": "^4.0.2"
20 20
   },
21 21
   "devDependencies": {
22 22
     "@vue/cli-plugin-babel": "~4.5.0",

+ 1
- 1
src/main.js Прегледај датотеку

@@ -23,7 +23,7 @@ Vue.component('swiper-slide', SwiperSlide)
23 23
 redirect()
24 24
 
25 25
 
26
-Login(getCode()).then(e => {
26
+Login().then(e => {
27 27
 
28 28
 
29 29
   new Vue({

+ 0
- 3
src/pages/signup.vue Прегледај датотеку

@@ -151,9 +151,6 @@ export default {
151 151
     },
152 152
     sumbit() {
153 153
       if (this.verification()) {
154
-        // register(this.formData).then(() => {
155
-        //   this.$router.push('/resultPage')
156
-        // })
157 154
         const { userName, phone, intendedProduct, address, role } =
158 155
           this.formData
159 156
         let arrNew = address.map((item) => {

+ 1
- 0
src/utils/initial.js Прегледај датотеку

@@ -62,6 +62,7 @@ export function share (opt) {
62 62
 
63 63
 export function Login () {
64 64
   const code = node.process.NODE_ENV === 'development' ? '123' : getCode()
65
+  console.log('----------code--------', code)
65 66
 
66 67
   return LoginUser(code).then(e => {
67 68
     // PVsum

+ 11
- 4
yarn.lock Прегледај датотеку

@@ -1456,6 +1456,11 @@
1456 1456
   optionalDependencies:
1457 1457
     prettier "^1.18.2 || ^2.0.0"
1458 1458
 
1459
+"@vue/devtools-api@^6.0.0-beta.11":
1460
+  version "6.0.12"
1461
+  resolved "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.0.12.tgz#7b57cce215ae9f37a86984633b3aa3d595aa5b46"
1462
+  integrity sha512-iO/4FIezHKXhiDBdKySCvJVh8/mZPxHpiQrTy+PXVqJZgpTPTdHy4q8GXulaY+UKEagdkBb0onxNQZ0LNiqVhw==
1463
+
1459 1464
 "@vue/preload-webpack-plugin@^1.1.0":
1460 1465
   version "1.1.2"
1461 1466
   resolved "https://registry.npmmirror.com/@vue/preload-webpack-plugin/-/preload-webpack-plugin-1.1.2.tgz#ceb924b4ecb3b9c43871c7a429a02f8423e621ab"
@@ -8361,10 +8366,12 @@ vue@^2.6.11:
8361 8366
   resolved "https://registry.npmmirror.com/vue/-/vue-2.6.14.tgz#e51aa5250250d569a3fbad3a8a5a687d6036e235"
8362 8367
   integrity sha512-x2284lgYvjOMj3Za7kqzRcUSxBboHqtgRE2zlos1qWaOye5yUmHn42LB1250NJBLRwEcdrB0JRwyPTEPhfQjiQ==
8363 8368
 
8364
-vuex@^3.6.2:
8365
-  version "3.6.2"
8366
-  resolved "https://registry.npmmirror.com/vuex/-/vuex-3.6.2.tgz#236bc086a870c3ae79946f107f16de59d5895e71"
8367
-  integrity sha512-ETW44IqCgBpVomy520DT5jf8n0zoCac+sxWnn+hMe/CzaSejb/eVw2YToiXYX+Ex/AuHHia28vWTq4goAexFbw==
8369
+vuex@^4.0.2:
8370
+  version "4.0.2"
8371
+  resolved "https://registry.npmmirror.com/vuex/-/vuex-4.0.2.tgz#f896dbd5bf2a0e963f00c67e9b610de749ccacc9"
8372
+  integrity sha512-M6r8uxELjZIK8kTKDGgZTYX/ahzblnzC4isU1tpmEuOIIKmV+TRdc+H4s8ds2NuZ7wpUTdGRzJRtoj+lI+pc0Q==
8373
+  dependencies:
8374
+    "@vue/devtools-api" "^6.0.0-beta.11"
8368 8375
 
8369 8376
 watchpack-chokidar2@^2.0.1:
8370 8377
   version "2.0.1"