Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
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
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
da4ac166
Commit
da4ac166
authored
Jun 28, 2021
by
maolipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:XMQXY-399
parent
460a6a47
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
src/modules/teach-tool/question-manage/modal/BatchImportQuestionModal.jsx
+9
-0
No files found.
src/modules/teach-tool/question-manage/modal/BatchImportQuestionModal.jsx
View file @
da4ac166
...
@@ -48,6 +48,15 @@ class BatchImportQuestionModal extends Component {
...
@@ -48,6 +48,15 @@ class BatchImportQuestionModal extends Component {
// 导入
// 导入
handleImport
=
async
()
=>
{
handleImport
=
async
()
=>
{
//过期判断
if
(
User
.
getExpirationTime
()
&&
moment
().
valueOf
()
>
Number
(
User
.
getExpirationTime
()))
{
Modal
.
warning
({
title
:
"服务已到期"
,
content
:
"当前企业购买的小麦企学院服务已到期,如需继续使用学院功能,请尽快续费购买"
,
okText
:
"我知道了"
})
return
}
const
{
uploadFile
}
=
this
.
state
;
const
{
uploadFile
}
=
this
.
state
;
if
(
!
uploadFile
)
{
if
(
!
uploadFile
)
{
message
.
warning
(
"请选择要导入的文件"
);
message
.
warning
(
"请选择要导入的文件"
);
...
...
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