Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ems3.3
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
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
wuhao
ems3.3
Commits
584a5877
Commit
584a5877
authored
Dec 15, 2022
by
TZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
c7729c19
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app.jsx
src/app.jsx
+1
-1
index.jsx
src/pages/setting/users/index.jsx
+5
-1
columns.js
src/pages/system/field/columns.js
+1
-0
No files found.
src/app.jsx
View file @
584a5877
...
...
@@ -12,7 +12,7 @@ import routes from '../config/authRoutes';
const
{
LinkOutlined
}
=
Ant4Icons
;
// const isDev = process.env.NODE_ENV === 'development';
const
isDev
=
fals
e
;
const
isDev
=
tru
e
;
//console.log(isDev);
const
loginPath
=
'/user/login'
;
...
...
src/pages/setting/users/index.jsx
View file @
584a5877
...
...
@@ -2,7 +2,7 @@
* @Author: Li Hanlin
* @Date: 2022-11-09 14:44:44
* @Last Modified by: Li Hanlin
* @Last Modified time: 2022-12-1
4 09:15:23
* @Last Modified time: 2022-12-1
5 17:19:25
*/
import
*
as
React
from
'react'
;
...
...
@@ -15,8 +15,11 @@ import getcolumns from './columns';
import
{
doFetch
}
from
'@/utils/doFetch'
;
import
{
message
,
AutoComplete
}
from
'antd'
;
import
ExtendField
from
'@/components/ExtendField'
;
import
{
useModel
}
from
'umi'
;
function
User
(
props
)
{
const
{
initialState
,
loading
,
error
,
refresh
,
setInitialState
}
=
useModel
(
'@@initialState'
);
console
.
log
(
'usermsg:'
,
initialState
);
const
actionRef
=
useRef
(),
formRef
=
useRef
();
const
[
drawer
,
setDrawer
]
=
useState
({
...
...
@@ -264,6 +267,7 @@ function User(props) {
type
:
'primary'
,
disabled
:
false
,
onClick
:
()
=>
{
// let res = await doFetch(
{
url
:})
setDrawer
((
s
)
=>
({
...
s
,
visible
:
true
,
...
...
src/pages/system/field/columns.js
View file @
584a5877
...
...
@@ -81,6 +81,7 @@ function getcolumns(ifs) {
},
fieldProps
:
{
disabled
:
ifs
,
placeholder
:
'请输入,用分号“;”隔开'
,
},
hideInForm
:
{
fieldChar
:
[
'1'
],
...
...
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