🐛 (share) fix share url
This commit is contained in:
@@ -84,7 +84,7 @@ export default class Home extends Vue {
|
||||
}
|
||||
|
||||
public get accountUrl(): string {
|
||||
let url = window.location.href.replace('/setting', '')
|
||||
let url = `${window.location.origin}${window.location.pathname}`
|
||||
if (this.account.isPublic) {
|
||||
url = `${url}/public`
|
||||
}
|
||||
@@ -110,7 +110,7 @@ export default class Home extends Vue {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang='scss' scoped>
|
||||
<style lang="scss" scoped>
|
||||
$padding-fab: 24px;
|
||||
|
||||
.is-fab {
|
||||
|
||||
Reference in New Issue
Block a user