Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
front-backend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
framework
front-backend
Commits
6fc5c7a4
Commit
6fc5c7a4
authored
Oct 31, 2019
by
dqjdda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
84bda94b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
src/views/generator/generator.vue
+2
-2
src/views/monitor/redis/index.vue
+0
-5
No files found.
src/views/generator/generator.vue
View file @
6fc5c7a4
<
template
>
<div>
<el-button
type=
"primary"
size=
"mini"
@
click=
"toGen"
>
生成代码
</el-button>
<el-dialog
:visible
.
sync=
"dialog"
:close-on-click-modal=
"false"
:before-close=
"cancel"
title=
"代码生成配置"
append-to-body
width=
"8
5
0px"
>
<el-form
ref=
"form"
:inline=
"true"
:model=
"form"
:rules=
"rules"
size=
"small"
label-width=
"
78
px"
>
<el-dialog
:visible
.
sync=
"dialog"
:close-on-click-modal=
"false"
:before-close=
"cancel"
title=
"代码生成配置"
append-to-body
width=
"8
8
0px"
>
<el-form
ref=
"form"
:inline=
"true"
:model=
"form"
:rules=
"rules"
size=
"small"
label-width=
"
90
px"
>
<el-form-item
label=
"模块名称"
prop=
"moduleName"
>
<el-input
v-model=
"form.moduleName"
/>
</el-form-item>
...
...
src/views/monitor/redis/index.vue
View file @
6fc5c7a4
...
...
@@ -22,11 +22,6 @@
</div>
<!--表格渲染-->
<el-table
v-loading=
"loading"
:data=
"data"
size=
"small"
style=
"width: 100%;"
>
<el-table-column
label=
"序号"
width=
"80"
align=
"center"
>
<template
slot-scope=
"scope"
>
<div>
{{
scope
.
$index
+
1
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"key"
label=
"KEY"
/>
<el-table-column
prop=
"value"
label=
"VALUE"
>
<template
slot-scope=
"scope"
>
...
...
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