Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage-go
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
Tracing
source-trace-manage-go
Commits
ac5b9e76
Commit
ac5b9e76
authored
May 20, 2021
by
salitedfish
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
不传用户token
parent
d92af0a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
MainMenu.vue
src/entry/czt/components/MainMenu.vue
+1
-0
SignIn.vue
src/entry/czt/views/SignIn.vue
+2
-2
No files found.
src/entry/czt/components/MainMenu.vue
View file @
ac5b9e76
...
@@ -38,6 +38,7 @@ export default {
...
@@ -38,6 +38,7 @@ export default {
this
.
$store
this
.
$store
.
dispatch
(
"selectPage"
,
idnex
)
.
dispatch
(
"selectPage"
,
idnex
)
.
then
(()
=>
{
.
then
(()
=>
{
//如果点击文件验真,那index就为1,那就打开新的窗口
if
(
idnex
===
1
)
{
if
(
idnex
===
1
)
{
window
.
open
(
UrlPrefixObj
.
model
.
CHAIN_BROWSER_URL_PREFIX
);
window
.
open
(
UrlPrefixObj
.
model
.
CHAIN_BROWSER_URL_PREFIX
);
}
else
{
}
else
{
...
...
src/entry/czt/views/SignIn.vue
View file @
ac5b9e76
<
template
>
<
template
>
<div>
login
</div>
<div>
login
...
</div>
</
template
>
</
template
>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
// let UrlPrefixObj = require("@/config/UrlPrefix");
// let UrlPrefixObj = require("@/config/UrlPrefix");
...
@@ -14,7 +14,7 @@ export default class signIn extends Vue {
...
@@ -14,7 +14,7 @@ export default class signIn extends Vue {
const
res
=
await
this
.
$ajax
({
const
res
=
await
this
.
$ajax
({
type
:
"post"
,
type
:
"post"
,
url
:
GO_URLS
.
token
,
url
:
GO_URLS
.
token
,
params
:
{
id
,
token
:
window
.
parent
.
localStorage
.
getItem
(
"ZCY_TOKEN"
)
},
params
:
{
id
},
});
});
if
(
res
)
{
if
(
res
)
{
...
...
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