mirror of https://github.com/certd/certd
chore: 商业版隐藏版权信息
parent
91fc1cd735
commit
126e548510
|
@ -1,6 +1,7 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref } from "vue";
|
import { ref } from "vue";
|
||||||
import TutorialSteps from "/@/components/tutorial/tutorial-steps.vue";
|
import TutorialSteps from "/@/components/tutorial/tutorial-steps.vue";
|
||||||
|
import { useSettingStore } from "/@/store/modules/settings";
|
||||||
const openedRef = ref(false);
|
const openedRef = ref(false);
|
||||||
function open() {
|
function open() {
|
||||||
openedRef.value = true;
|
openedRef.value = true;
|
||||||
|
@ -14,10 +15,12 @@ function prev() {
|
||||||
function next() {
|
function next() {
|
||||||
console.log("next");
|
console.log("next");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const settingStore = useSettingStore();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="tutorial-button" @click="open">
|
<div v-if="!settingStore.isComm" class="tutorial-button" @click="open">
|
||||||
<fs-icon icon="mingcute:question-line"></fs-icon>
|
<fs-icon icon="mingcute:question-line"></fs-icon>
|
||||||
<div class="ml-5">使用教程</div>
|
<div class="ml-5">使用教程</div>
|
||||||
<a-modal v-model:open="openedRef" class="tutorial-modal" width="90%">
|
<a-modal v-model:open="openedRef" class="tutorial-modal" width="90%">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div v-if="!settingStore.isComm" class="layout-vip isPlus" @click="openUpgrade">
|
<div v-if="!settingStore.isComm || userStore.isAdmin" class="layout-vip isPlus" @click="openUpgrade">
|
||||||
<contextHolder />
|
<contextHolder />
|
||||||
<fs-icon icon="mingcute:vip-1-line" :title="text.title" />
|
<fs-icon icon="mingcute:vip-1-line" :title="text.title" />
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
<!-- Button-->
|
<!-- Button-->
|
||||||
<!-- </button>-->
|
<!-- </button>-->
|
||||||
<fs-menu
|
<fs-menu
|
||||||
v-if="settingStore?.siteEnv?.agent?.enabled === false || !settingStore.isComm"
|
v-if="settingStore?.siteEnv?.agent?.enabled === false && !settingStore.isComm"
|
||||||
class="header-menu"
|
class="header-menu"
|
||||||
mode="horizontal"
|
mode="horizontal"
|
||||||
:expand-selected="false"
|
:expand-selected="false"
|
||||||
|
|
|
@ -83,6 +83,7 @@ export const sysResources = [
|
||||||
path: "/sys/settings/email",
|
path: "/sys/settings/email",
|
||||||
component: "/sys/settings/email-setting.vue",
|
component: "/sys/settings/email-setting.vue",
|
||||||
meta: {
|
meta: {
|
||||||
|
permission: "sys:settings:view",
|
||||||
icon: "ion:mail-outline",
|
icon: "ion:mail-outline",
|
||||||
auth: true
|
auth: true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue