Merge pull request #75 from Zihan-Hu/master

refactor: use CSS to prevent selecting
This commit is contained in:
Zyronon 2024-05-02 14:24:23 +08:00 committed by GitHub
commit af2809ec73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,14 +78,16 @@ onMounted(() => {
location.href = BASE_URL + '/'
setVh()
})
//
document.onselectstart = new Function('return false') as any
})
</script>
<style lang="less">
@import './assets/less/index';
* {
user-select: none;
}
#app {
height: 100%;
width: 100%;