Commit ea1531e4 authored by 全球's avatar 全球

返回按钮

parent 8fca0a2d
...@@ -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: "设置" }
}, },
...@@ -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 }
} }
......
<template> <template>
<div class="invite-code"> <div class="invite-code">
<div class="nav">
<van-icon
name="arrow-left"
size="20"
class="nav-left"
@click="$router.go(-1)"
/>
<img :src="imgSrc" alt="" class="imgCode" /> <img :src="imgSrc" alt="" class="imgCode" />
</div> </div>
</div>
</template> </template>
<script> <script>
import { inviteCode } from "@/api/invite"; import { inviteCode } from "@/api/invite";
......
...@@ -142,7 +142,7 @@ export default { ...@@ -142,7 +142,7 @@ export default {
// 检验手机号 // 检验手机号
const params = { const params = {
codeType: 0, codeType: 0,
phone: this.userId phone: this.form.userId
}; };
smsCode(params).then(res => { smsCode(params).then(res => {
console.log(res); console.log(res);
......
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