去掉线上console,修改水印真实姓名错误
This commit is contained in:
parent
f3d9a644b4
commit
d52a473d28
@ -9,9 +9,9 @@ import Router from 'vue-router'
|
||||
import { apiGetMenuNav } from '@/api/api_menu'
|
||||
import { isURL } from '@/utils/validate'
|
||||
import {clearLoginInfo} from '@/utils'
|
||||
import VConsole from 'vconsole'
|
||||
//import VConsole from 'vconsole'
|
||||
|
||||
let vConsole = new VConsole()
|
||||
//let vConsole = new VConsole()
|
||||
Vue.use(Router)
|
||||
|
||||
// 开发环境不使用懒加载, 因为懒加载页面太多的话会造成webpack热更新太慢, 所以只有生产环境使用懒加载
|
||||
|
||||
@ -86,7 +86,9 @@
|
||||
this.userName = res.user.username
|
||||
this.$store.state.user = res.user
|
||||
this.mobile = res.user.mobile
|
||||
this.$watermark.set(this.realName + ' ' + this.mobile.substr(0, 4))
|
||||
console.log('真实姓名' + res.user.realName);
|
||||
|
||||
this.$watermark.set(res.user.realName + ' ' + this.mobile.substr(7, 4))
|
||||
} else {
|
||||
this.$message.error(res.msg)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user