浏览代码

处理BUG

wangcz 7 年之前
父节点
当前提交
dc75683f14
共有 3 个文件被更改,包括 6 次插入3 次删除
  1. 4 1
      components/mobile/reset/stepSecurity .vue
  2. 1 1
      nuxt.config.js
  3. 1 1
      server.js

+ 4 - 1
components/mobile/reset/stepSecurity .vue

@@ -44,7 +44,10 @@
           answer1: '',
           answer2: ''
         },
-        questions: '',
+        questions: [
+          {question: ''},
+          {question: ''}
+        ],
         token: ''
       }
     },

+ 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://sso.ubtob.com/' : 'http://192.168.253.6:23232/')
+const baseUrl = process.env.BASE_URL || (isProdMode ? 'https://sso.usoftchina.com/' : 'http://192.168.253.6:23232/')
 
 module.exports = {
   router: {

+ 1 - 1
server.js

@@ -73,7 +73,7 @@ else {
 function listen() {
   // Listen the server
   app.listen(port, '0.0.0.0')
-  console.log('Server listening on `localhost:' + port + '`.')
+  console.log('Server listening on ' + host + ':' + port)
 }
 // Listen the server
 // app.listen(port)