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

0

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