Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
visualcloud
/
Vmatrix-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e514108b
authored
Nov 27, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
f8bfa01e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletions
+9
-1
src/utils/request.js
+1
-1
src/views/template/template-add-detail.vue
+0
-0
src/views/template/template-list.vue
+8
-0
No files found.
src/utils/request.js
View file @
e514108b
...
...
@@ -46,7 +46,7 @@ service.interceptors.response.use(
const
res
=
response
.
data
console
.
log
(
res
.
code
,
res
.
code
!==
'0'
,
String
(
res
.
code
))
// if the custom code is not 20000, it is judged as an error.
if
(
res
.
code
!==
'0'
&&
res
.
code
)
{
if
(
res
.
code
!==
'0'
&&
res
.
code
&&
res
.
code
!==
20000
)
{
Message
({
message
:
res
.
msg
||
' response Error'
,
type
:
'error'
,
...
...
src/views/template/template-add-detail.vue
View file @
e514108b
This diff is collapsed.
Click to expand it.
src/views/template/template-list.vue
View file @
e514108b
...
...
@@ -51,6 +51,11 @@
<span>
{{
scope
.
row
.
templateCount
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"资源路径"
width=
"210px"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
frameUrl
.
split
(
'/'
).
splice
(
-
2
,
3
)[
0
]
}}
</span>
</
template
>
</el-table-column>
<!-- <el-table-column label="状态" class-name="status-col" width="100">
<template slot-scope="{row}">
<el-tag :type="row.templateShow | statusFilter">
...
...
@@ -60,6 +65,9 @@
</el-table-column> -->
<el-table-column
label=
"操作"
align=
"center"
width=
"230"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"{row}"
>
<el-button
type=
"primary"
size=
"mini"
>
<a
:href=
"row.frameUrl"
target=
"_blank"
>
预览
</a>
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"handleUpdate(row)"
>
详情
</el-button>
...
...
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