feat: 新增一键备案切换模式功能

This commit is contained in:
橙子
2024-10-07 15:10:05 +08:00
parent 83fc4f46b2
commit 8380cb1084
4 changed files with 23 additions and 16 deletions

View File

@@ -5,7 +5,7 @@
<div class="div-bottom">
<span>备案<span v-html="configStore.icp"></span></span>
<span>站长{{ configStore.author }}</span>
<span ><router-link to="/contact">联系我们</router-link></span>
<span v-if="!isIcp"><router-link to="/contact">联系我们</router-link></span>
<span>关于本站</span>
<span>建议反馈</span>
<span>原创站点</span>
@@ -18,7 +18,7 @@
import useConfigStore from "@/stores/config";
const configStore=useConfigStore();
const isIcp=import.meta.env.VITE_APP_ICP==="true";
</script>
<style scoped lang="scss">
.box {