share link
This commit is contained in:
Surya Paolo
2023-01-09 15:55:18 +01:00
parent a9367d5aef
commit b98cda2110
14 changed files with 669 additions and 135 deletions

View File

@@ -87,8 +87,11 @@ export default defineComponent({
load()
}
function getlinkpage() {
return self.location.host + tools.getPathByTable(props.table, myrec.value._id)
}
function condividipag() {
const mystr = self.location.host + tools.getPathByTable(props.table, myrec.value._id)
const mystr = getlinkpage()
tools.copyStringToClipboard($q, mystr, true)
tools.sendMsgTelegramCmd($q, t, shared_consts.MsgTeleg.SHARE_TEXT, false, mystr)
return true
@@ -120,6 +123,7 @@ export default defineComponent({
col,
condividipag,
showBadge,
getlinkpage,
}
}
})