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