Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
OKR
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanfeng zhang
OKR
Commits
6cdb57db
Commit
6cdb57db
authored
Sep 07, 2021
by
hanfeng zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0
parent
5c22e59c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
index.ts
src/util/Bridge/index.ts
+2
-0
confirm-join.vue
src/views/team/join-team/confirm-join.vue
+5
-5
No files found.
src/util/Bridge/index.ts
View file @
6cdb57db
...
...
@@ -28,6 +28,8 @@ export function isAppEnv() {
export
function
appNavBack
(){
const
appEnv
=
isAppEnv
()
console
.
log
(
111
);
if
(
appEnv
){
goBack
()
}
else
{
...
...
src/views/team/join-team/confirm-join.vue
View file @
6cdb57db
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment