Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-kanban
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ximai
mes-kanban
Commits
43f07f84
Commit
43f07f84
authored
Nov 09, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
横屏处理
parent
45f5d5fa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
app.tsx
src/app.tsx
+3
-1
qualityAbnormal.tsx
...ductionComprehens/components/Abnormal/qualityAbnormal.tsx
+1
-1
typings.d.ts
src/typings.d.ts
+1
-1
No files found.
src/app.tsx
View file @
43f07f84
...
...
@@ -216,7 +216,9 @@ export async function getInitialState(): Promise<{
settings
:
{},
};
}
if
(
!
(
typeof
window
!==
'undefined'
&&
typeof
window
.
document
!==
'undefined'
))
{
plus
.
screen
.
lockOrientation
(
"landscape-primary"
);
// 把屏幕方向改变成横屏正方向
}
// ProLayout 支持的api https://procomponents.ant.design/components/layout
export
const
layout
:
RunTimeLayoutConfig
=
({
initialState
,
setInitialState
})
=>
{
return
{
...
...
src/pages/kanban/productionComprehens/components/Abnormal/qualityAbnormal.tsx
View file @
43f07f84
...
...
@@ -127,7 +127,7 @@ const formatOptions = (data: any) => {
const
lastSevenDays
=
[];
for
(
let
i
=
0
;
i
<
7
;
i
++
)
{
lastSevenDays
.
push
(
moment
(
now
).
subtract
(
i
,
'days'
).
format
(
'
DD/MM
'
));
lastSevenDays
.
push
(
moment
(
now
).
subtract
(
i
,
'days'
).
format
(
'
MM/DD
'
));
}
console
.
log
(
'lastSevenDays'
,
lastSevenDays
)
option
[
'xAxis'
][
'data'
]
=
lastSevenDays
.
reverse
()
...
...
src/typings.d.ts
View file @
43f07f84
...
...
@@ -16,7 +16,7 @@ declare module '@antv/data-set';
declare
module
'mockjs'
;
declare
module
'react-fittext'
;
declare
module
'bizcharts-plugin-slider'
;
declare
var
plus
:
any
;
// preview.pro.ant.design only do not use in your production ;
// preview.pro.ant.design Dedicated environment variable, please do not use it in your project.
declare
let
ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION
:
'site'
|
undefined
;
...
...
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