This commit is contained in:
syuilo
2021-04-10 23:52:45 +09:00
parent 5087a5af21
commit f44517f4af
5 changed files with 98 additions and 40 deletions

View File

@ -26,6 +26,7 @@
import { defineComponent } from 'vue';
import { faChevronLeft, faCircle, faShareAlt, faEllipsisH } from '@fortawesome/free-solid-svg-icons';
import { modalMenu } from '@client/os';
import { url } from '@client/config';
export default defineComponent({
props: {
@ -86,7 +87,10 @@ export default defineComponent({
},
share() {
navigator.share(this.info.share);
navigator.share({
url: url + this.info.path,
...this.info.share,
});
},
menu(ev) {