fix card url
This commit is contained in:
@@ -18,8 +18,8 @@ export default {
|
||||
let currentPath = this.$router.history.current.path
|
||||
let reference = this.createReferenceTag(this.$props.title)
|
||||
|
||||
await this.$copyText(`https://webgems.io${currentPath}/?card=${reference}`)
|
||||
this.$router.push(`${currentPath}/?card=${reference}`)
|
||||
await this.$copyText(`https://webgems.io${currentPath}?card=${reference}`)
|
||||
this.$router.push(`${currentPath}?card=${reference}`)
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user