Browse Source

修改完成密码重置后的跳转

Administrator 7 years ago
parent
commit
5abcbc29ec
3 changed files with 3 additions and 2 deletions
  1. 1 1
      components/reset/PasswordResetSetSuccess.vue
  2. 1 1
      nuxt.config.js
  3. 1 0
      package.json

+ 1 - 1
components/reset/PasswordResetSetSuccess.vue

@@ -25,7 +25,7 @@
     methods: {
 //      跳转个人中心
       goCloudCenter () {
-        window.location.href = '/cloudcenter'
+        window.location.href = '/'
       }
     }
   }

+ 1 - 1
nuxt.config.js

@@ -1,6 +1,6 @@
 const path = require('path')
 const isProdMode = Object.is(process.env.NODE_ENV, 'production')
-const baseUrl = process.env.BASE_URL || (isProdMode ? 'https://city-service.ubtob.com' : 'http://192.168.253.66:8081/')
+const baseUrl = process.env.BASE_URL || (isProdMode ? 'https://city-service.ubtob.com' : 'http://192.168.253.12:32323/')
 
 module.exports = {
   router: {

+ 1 - 0
package.json

@@ -40,6 +40,7 @@
     "babel-cli": "^6.24.1",
     "babel-core": "^6.25.0",
     "babel-eslint": "^7.1.1",
+    "babel-helpers": "^6.24.1",
     "babel-loader": "^7.1.1",
     "babel-plugin-component": "^0.10.1",
     "babel-plugin-external-helpers": "^6.22.0",