Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
G
gateway-selector-web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pani
gateway-selector-web
Commits
185a0604
Commit
185a0604
authored
Aug 04, 2020
by
Pani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
description fixed 16 char
parent
c615f9fc
Pipeline
#447
passed with stages
in 6 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
src/App.vue
src/App.vue
+15
-2
No files found.
src/App.vue
View file @
185a0604
...
...
@@ -16,9 +16,16 @@
<div
class=
"group-select-container"
>
<div
class=
"sub-switch"
v-for=
"(subItem, index2) in item.sets"
v-bind:key=
"'sub'+index2"
>
<el-switch
v-if=
"subItem.description === null || subItem.description === ''"
v-model=
"subItem.here"
@
change=
"handleChange(index, index2)"
:active-text=
"subItem.name+' ('+ subItem.description +')'"
>
:active-text=
"subItem.name"
>
</el-switch>
<el-switch
v-else
v-model=
"subItem.here"
@
change=
"handleChange(index, index2)"
:active-text=
"subItem.name+' ('+ splitDesc(subItem.description) +')'"
>
</el-switch>
</div>
...
...
@@ -50,13 +57,19 @@
nowSelect
:
''
,
refreshIcon
:
'
el-icon-refresh-right
'
}
},
computed
:
{
},
methods
:
{
splitDesc
(
desc
){
return
desc
.
split
(
''
).
splice
(
0
,
16
).
join
(
''
)
},
refreshNode
(){
this
.
refreshIcon
=
'
el-icon-loading
'
;
const
that
=
this
;
this
.
axios
.
get
(
APP_DOMAIN
+
'
/api/get
'
).
then
((
res
)
=>
{
console
.
log
(
res
);
//
console.log(res);
that
.
info
=
res
.
data
;
that
.
refreshIcon
=
'
el-icon-refresh-right
'
;
that
.
$message
({
...
...
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