提交 97d3d7e3 authored 作者: 刘旭's avatar 刘旭

修改标题

上级 5c163f01
{
"name": "litemall-vue",
"name": "yongxinda",
"version": "0.1.0",
"description": "litemall-vue basing on vant--mobile-mall 0.1.0",
"author": "litemall <linlinjava@163.com>",
"description": "yongxinda basing on vant--mobile-mall 0.1.0",
"author": "yongxinda",
"license": "MIT",
"private": true,
"scripts": {
......
......@@ -7,7 +7,7 @@
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
<title>litemall-vue</title>
<title>永信达</title>
</head>
<body>
......
import { authProfile } from '@/api/api';
import { Field } from 'vant';
export default (await import('vue')).default.extend({
data() {
return {
nickName: ''
};
},
created() {
this.getNick();
},
methods: {
getNick() {
this.nickName = localStorage.getItem('nickName') || '';
},
saveNick() {
authProfile({ nickname: this.nickName }).then(res => {
localStorage.setItem('nickName', this.nickName);
this.$dialog.alert({ message: '保存成功' }).then(() => {
this.$router.go(-1);
});
});
}
},
components: {
[Field.name]: Field
}
});
......@@ -14,7 +14,7 @@ module.exports = {
port: 6255,
proxy: {
'/wx': {
target: 'http://192.168.2.210:8080'
target: 'http://193.112.67.73:81'
},
},
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论