|
|
@@ -220,7 +220,7 @@ export default { |
|
|
|
this.$emit('openFile'); |
|
|
|
}, |
|
|
|
async setShare() { |
|
|
|
const res = await setShareFile (this.fileId,this.commitInfo.currentHash,sessionStorage.userId); |
|
|
|
const res = await setShareFile(this.fileId,this.commitInfo.currentHash,sessionStorage.userId, this.commitInfo.version); |
|
|
|
if(res.Code == 0) { |
|
|
|
this.$notify({ |
|
|
|
type:'success', |
|
|
|