mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
set URL from query.
This commit is contained in:
@ -94,7 +94,12 @@
|
||||
export default class extends Vue {
|
||||
@Prop() readonly neko!: Neko
|
||||
|
||||
url: string = location.href
|
||||
@Watch('neko.state.connection.url')
|
||||
updateUrl(url: string) {
|
||||
this.url = url
|
||||
}
|
||||
|
||||
url: string = ''
|
||||
|
||||
async setUrl() {
|
||||
if (this.url == '') {
|
||||
|
Reference in New Issue
Block a user