Commit 6cdb57db authored by hanfeng zhang's avatar hanfeng zhang

0

parent 5c22e59c
......@@ -28,6 +28,8 @@ export function isAppEnv() {
export function appNavBack(){
const appEnv = isAppEnv()
console.log(111);
if(appEnv){
goBack()
}else{
......
......@@ -7,12 +7,12 @@
:loading="loading"
>
<!-- 顶部左侧插槽 -->
<!-- <app-icon
<app-icon
slot="left"
class-name="w-6.5 w-6.5"
icon-name="left-arrow-white"
@click="$router.go(-1)"
/> -->
@click="appNavBack()"
/>
<div class="relative w-full h-40 bg-color-primary">
<!-- 背景图 -->
<!-- <img class="w-82 absolute top-0 right-0" src="@/assets/images/header-bg.png" alt=""> -->
......@@ -77,6 +77,7 @@
import Vue from 'vue'
import {formatDate} from '@/util/FormatDate'
import {AcceptJoinDTO} from '@/service/moudles/service.dto'
import { appNavBack } from '@/util/Bridge'
export default Vue.extend({
name: 'JoinTeam',
......@@ -111,11 +112,10 @@ export default Vue.extend({
created() {
this.info = this.$route.query as unknown as AcceptJoinDTO
// item = JSON.parse(query as string)
this.getDepInfo(this.info)
},
methods: {
appNavBack,
submit() {
console.log('申请')
this.loading = true
......
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