Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Guten-PigxUI
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄卓然
Guten-PigxUI
Commits
7ffee2fc
Commit
7ffee2fc
authored
Nov 11, 2018
by
冷冷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
添加新特性。新增租户管理
parent
d70123c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
user.js
src/const/crud/user.js
+3
-1
index.vue
src/page/login/index.vue
+2
-1
No files found.
src/const/crud/user.js
View file @
7ffee2fc
...
...
@@ -21,6 +21,8 @@ var validateUsername = (rule, value, callback) => {
let
result
=
response
.
data
.
data
if
(
result
!==
null
)
{
callback
(
new
Error
(
'用户名已经存在'
))
}
else
{
callback
()
}
});
};
...
...
@@ -129,4 +131,4 @@ export const tableOption = {
addVisdiplay
:
false
,
span
:
24
,
}]
}
\ No newline at end of file
}
src/page/login/index.vue
View file @
7ffee2fc
...
...
@@ -7,7 +7,8 @@
选择租户
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</span>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"2"
>
pigx
</el-dropdown-item>
<el-dropdown-item
command=
"1"
>
租户1
</el-dropdown-item>
<el-dropdown-item
command=
"2"
>
租户2
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
...
...
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