Commit 74f0f5ab authored by leiqingsong's avatar leiqingsong

Merge branch 'dev_lqs' into 'master'

修改

See merge request !84
parents 9a237c02 ea36590d
This image diff could not be displayed because it is too large. You can view the blob instead.
...@@ -45,7 +45,6 @@ export default { ...@@ -45,7 +45,6 @@ export default {
} else { } else {
this.$router.go(-1); this.$router.go(-1);
} }
// this.$router.go(-1);
}, },
onClickRight() { onClickRight() {
console.log("right"); console.log("right");
......
...@@ -6,13 +6,13 @@ Vue.use(VueRouter); ...@@ -6,13 +6,13 @@ Vue.use(VueRouter);
const routes = [ const routes = [
{ {
path: "/my-status", path: "/my-status",
name: "myStatus", name: "MyStatus",
component: () => import("../views/my/myStatus.vue"), component: () => import("../views/my/myStatus.vue"),
meta: { title: "我的直推", noNav: false } meta: { title: "我的直推", noNav: false }
}, },
{ {
path: "/publish", path: "/publish",
name: "publish", name: "Publish",
component: () => import("@/views/moments/publish"), component: () => import("@/views/moments/publish"),
meta: { title: "发布资讯" } meta: { title: "发布资讯" }
}, },
...@@ -52,7 +52,7 @@ const routes = [ ...@@ -52,7 +52,7 @@ const routes = [
}, },
{ {
path: "wallet", path: "wallet",
name: "wallet", name: "Wallet",
component: () => import("@/views/income/wallet"), component: () => import("@/views/income/wallet"),
meta: { title: "钱包" } meta: { title: "钱包" }
}, },
...@@ -84,13 +84,13 @@ const routes = [ ...@@ -84,13 +84,13 @@ const routes = [
}, },
{ {
path: "/instructions", path: "/instructions",
name: "instructions", name: "Instructions",
component: () => import("@/views/instructions"), component: () => import("@/views/instructions"),
meta: { title: "用户协议" } meta: { title: "用户协议" }
}, },
{ {
path: "/settings", path: "/settings",
name: "settings", name: "Settings",
component: () => import("@/views/settings"), component: () => import("@/views/settings"),
meta: { title: "设置" } meta: { title: "设置" }
}, },
...@@ -138,7 +138,7 @@ const routes = [ ...@@ -138,7 +138,7 @@ const routes = [
}, },
{ {
path: "/customer", path: "/customer",
name: "customerService", name: "CustomerService",
component: () => import("@/views/customer-service"), component: () => import("@/views/customer-service"),
meta: { title: "专属客服", noNav: true } meta: { title: "专属客服", noNav: true }
}, },
...@@ -150,7 +150,7 @@ const routes = [ ...@@ -150,7 +150,7 @@ const routes = [
}, },
{ {
path: "/aboutUs", path: "/aboutUs",
name: "aboutUs", name: "AboutUs",
component: () => import("@/views/aboutUs"), component: () => import("@/views/aboutUs"),
meta: { title: "公司简介", noNav: false } meta: { title: "公司简介", noNav: false }
} }
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<img class="avatar" :src="avatar" alt /> <img class="avatar" :src="avatar" alt />
<div class="btn"> <div class="btn">
<van-uploader <van-uploader
accept="image/*"
:max-count="1" :max-count="1"
:before-delete="onDeleteAvatar" :before-delete="onDeleteAvatar"
:after-read="onRead" :after-read="onRead"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment