Ai
2 Star 0 Fork 0

lhzlhzlhz/learningcode

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
App.vue 930 Bytes
一键复制 编辑 原始数据 按行查看 历史
lhz 提交于 2024-07-21 13:55 +08:00 . lghz
<template>
<div id="app">
<router-view />
<theme-picker />
</div>
</template>
<script>
import ThemePicker from "@/components/ThemePicker";
export default {
name: "App",
components: { ThemePicker },
metaInfo() {
return {
title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
titleTemplate: title => {
return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
}
}
},
mounted() {
}
};
</script>
<style scoped>
body {
touch-action: none;
}
#app .theme-picker {
display: none;
touch-action: none;
}
#app{
-moz-user-select:none; /* Firefox */
-webkit-user-select:none; /* WebKit内核 */
-ms-user-select:none; /* IE10及以后 */
-khtml-user-select:none; /* 早期浏览器 */
-o-user-select:none; /* Opera */
user-select:none; /* CSS3属性 */
touch-action: none;
}
</style>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/trafficgogogo/learningcode.git
git@gitee.com:trafficgogogo/learningcode.git
trafficgogogo
learningcode
learningcode
master

搜索帮助