Skip to content

Commit c63f24c

Browse files
committed
fix share link
1 parent 869e430 commit c63f24c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/components/basecanvas.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -357,10 +357,6 @@ export default {
357357
navigator.clipboard.writeText(value);
358358
},
359359
360-
shared_path(){
361-
return window.location.origin + "?sq=" + this.share_id
362-
},
363-
364360
changeMode() {
365361
this.$store.commit("changeMode");
366362
this.local_mode = this.$store.state.mode ? 'On' : 'Off';
@@ -399,7 +395,7 @@ export default {
399395
this.$store.state.output = "";
400396
},
401397
shared_path(){
402-
return window.location.origin + "?sq=" + this.share_id
398+
return window.location.origin + "?sq=" + this.$store.state.share_id
403399
},
404400
},
405401

0 commit comments

Comments
 (0)