Skip to content

Commit 1915382

Browse files
authored
Merge pull request #31 from scyth3-c/stable-2-7
Stable 2 7
2 parents 1305672 + 65b843d commit 1915382

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-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

src/store.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,7 @@ int main() {
710710
data: {nombre: state.identity, conten: code, author: state.identity },
711711
});
712712
state.share_id = query.data
713+
console.log(query.data)
713714
} else {
714715
commit("code_builder");
715716
let data = await axios({

0 commit comments

Comments
 (0)