Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lmp_web
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
yujian
lmp_web
Commits
39a7dce8
Commit
39a7dce8
authored
Dec 15, 2023
by
mhw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文件类型校验
parent
3fc1cde9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
index.vue
...aining/knowledgeBase/dialog/importConfiguration/index.vue
+1
-1
No files found.
src/views/gptTraining/knowledgeBase/dialog/importConfiguration/index.vue
View file @
39a7dce8
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
{{
form
.
knowledge_base_name
}}
{{
form
.
knowledge_base_name
}}
<el-form-item
label=
"上传知识库文件:"
prop=
"filesArr"
>
<el-form-item
label=
"上传知识库文件:"
prop=
"filesArr"
>
<el-button
@
click=
"clickUp"
:size=
"defaultFormItemSize"
type=
"primary"
>
上传
</el-button>
<el-button
@
click=
"clickUp"
:size=
"defaultFormItemSize"
type=
"primary"
>
上传
</el-button>
<input
style=
"display:none"
ref=
"upFile"
type=
"file"
@
change=
"fileinfo($event.target.files)"
>
<input
style=
"display:none"
ref=
"upFile"
type=
"file"
@
change=
"fileinfo($event.target.files)"
accept=
".html, .md, .json, .csv, .pdf, .png, .jpg, .jpeg, .bmp, .eml, .msg, .rst, .rtf, .txt, .xml, .docx, .epub, .odt, .ppt, .pptx, .tsv, .htm"
>
<div
v-for=
"item in files"
:key=
"item.name"
>
{{
item
.
name
}}
</div>
<div
v-for=
"item in files"
:key=
"item.name"
>
{{
item
.
name
}}
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"单段文本最大长度:"
>
<el-form-item
label=
"单段文本最大长度:"
>
...
...
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