|
@@ -62,14 +62,14 @@
|
|
chirography: [], //笔迹
|
|
chirography: [], //笔迹
|
|
currentChirography: {}, //当前笔迹
|
|
currentChirography: {}, //当前笔迹
|
|
linePrack: [] ,//划线轨迹 , 生成线条的实际点
|
|
linePrack: [] ,//划线轨迹 , 生成线条的实际点
|
|
- url:'d://test.docx',
|
|
|
|
|
|
+ url:'',
|
|
};
|
|
};
|
|
},
|
|
},
|
|
onLoad(e) {
|
|
onLoad(e) {
|
|
if(e.url){
|
|
if(e.url){
|
|
this.url=JSON.parse(decodeURIComponent(e.url));
|
|
this.url=JSON.parse(decodeURIComponent(e.url));
|
|
}
|
|
}
|
|
- console.log(this.url)
|
|
|
|
|
|
+ // console.log(this.url)
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
let canvasName = this.canvasName;
|
|
let canvasName = this.canvasName;
|
|
@@ -527,7 +527,7 @@
|
|
var result=resa.target.result;
|
|
var result=resa.target.result;
|
|
// console.log(result,2)
|
|
// console.log(result,2)
|
|
var params={
|
|
var params={
|
|
- wordFilePath:baseUrl+that.url,
|
|
|
|
|
|
+ wordFilePath:that.url,
|
|
image:result
|
|
image:result
|
|
}
|
|
}
|
|
getWordFilePath(params).then(resb=>{
|
|
getWordFilePath(params).then(resb=>{
|