Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaoyou_doc
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李进峰
jiaoyou_doc
Commits
28347897
Commit
28347897
authored
Jan 13, 2023
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
56912ebf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
新版导入导出原始数据.md
dramaeditor/新版导入导出原始数据.md
+13
-13
No files found.
dramaeditor/新版导入导出原始数据.md
View file @
28347897
-
基本地
址
-
基本地
址
...
@@ -143,8 +143,9 @@ curl --location --request GET 'http://tx-gz18.heyqiwu.cn/api/juben/work/operate/
...
@@ -143,8 +143,9 @@ curl --location --request GET 'http://tx-gz18.heyqiwu.cn/api/juben/work/operate/
onRequestCloseModal: handleClose
onRequestCloseModal: handleClose
}"
}"
/>
/>
<div>
<
/
div>
</template>
</template>
<script>
import Uppy from '@uppy/core'
import Uppy from '@uppy/core'
import Tus from '@uppy/tus'
import Tus from '@uppy/tus'
import zh_CN from '@uppy/locales/lib/zh_CN'
import zh_CN from '@uppy/locales/lib/zh_CN'
...
@@ -169,17 +170,6 @@ export default {
...
@@ -169,17 +170,6 @@ export default {
};
};
},
},
mounted() {
mounted() {
this.getData();
this.fileUpload1 = new Uppy({ id: 'fileUpload1', autoProceed: false, debug: true, locale: zh_CN})
.use(Tus, { endpoint: filetusdUploadUrl })
.on('complete', (result) => {
console.log("this:", this);
console.log("result:", result);
let files = result.successful;
let file = files[0];
this.updateDia.uploadFileObj.fileUrl = file["uploadURL"];
this.updateDia.uploadFileObj.fileName = file["name"];
})
},
},
methods:{
methods:{
openUppy(){
openUppy(){
...
@@ -190,6 +180,16 @@ export default {
...
@@ -190,6 +180,16 @@ export default {
}
}
},
},
created() {
created() {
this.fileUpload1 = new Uppy({ id: 'fileUpload1', autoProceed: false, debug: true, locale: zh_CN})
.use(Tus, { endpoint: filetusdUploadUrl })
.on('complete', (result) => {
console.log("this:", this);
console.log("result:", result);
let files = result.successful;
let file = files[0];
this.updateDia.uploadFileObj.fileUrl = file["uploadURL"];
this.updateDia.uploadFileObj.fileName = file["name"];
})
},
},
};
};
</script>
</script>
...
...
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