Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
seeta-device
/
deviceManage
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6afe77a7
authored
Sep 27, 2021
by
温丽香
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
应用中心修改
1 parent
ec81db90
Pipeline
#4721
passed
in 1 minute 39 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
public/index.html
src/views/Apply/index.vue
public/index.html
View file @
6afe77a
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<title>
SeetaAIoT
</title>
<title>
AIoT Base
</title>
</head>
</head>
<body>
<body>
<script
type=
"text/javascript"
src=
"./config.js"
></script>
<script
type=
"text/javascript"
src=
"./config.js"
></script>
...
...
src/views/Apply/index.vue
View file @
6afe77a
...
@@ -162,14 +162,14 @@ export default {
...
@@ -162,14 +162,14 @@ export default {
}
}
},
},
async
setHostApp
(
row
)
{
async
setHostApp
(
row
)
{
const
res
=
await
setApp
({
appid
:
row
.
appid
,
mainapp
:
1
,
username
:
'test'
})
const
res
=
await
setApp
({
appid
:
row
.
appid
,
mainapp
:
1
,
username
:
browserStorage
.
getItem
(
'nickname'
)
})
if
(
res
&&
res
.
data
&&
res
.
data
.
code
===
0
)
{
if
(
res
&&
res
.
data
&&
res
.
data
.
code
===
0
)
{
Toast
.
success
(
'操作成功'
)
Toast
.
success
(
'操作成功'
)
this
.
getData
()
this
.
getData
()
}
}
},
},
async
cancelHostApp
(
row
)
{
async
cancelHostApp
(
row
)
{
const
res
=
await
setApp
({
appid
:
row
.
appid
,
mainapp
:
0
,
username
:
'test'
})
const
res
=
await
setApp
({
appid
:
row
.
appid
,
mainapp
:
0
,
username
:
browserStorage
.
getItem
(
'nickname'
)
})
if
(
res
&&
res
.
data
&&
res
.
data
.
code
===
0
)
{
if
(
res
&&
res
.
data
&&
res
.
data
.
code
===
0
)
{
Toast
.
success
(
'操作成功'
)
Toast
.
success
(
'操作成功'
)
this
.
getData
()
this
.
getData
()
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment