Register protocol handler

close #11
This commit is contained in:
CzBiX
2020-03-31 22:46:42 +08:00
parent 82e66e38af
commit 707400b7be
3 changed files with 45 additions and 1 deletions

View File

@@ -317,7 +317,7 @@ export default class AddForm extends Vue {
this.files = files;
}
@Watch('pasteUrl')
@Watch('pasteUrl', {immediate: true})
onPasteUrl(v: string) {
if (!v) {
return;