bill hai 4 meses
pai
achega
cca559389a
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/components/view-setting/index.vue

+ 2 - 1
src/components/view-setting/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div v-if="custom.showViewSetting">
+  <div v-if="custom.showViewSetting && currentModel === fuseModel">
     <Dropdown placement="top">
       <div class="strengthen show-setting">
         <span>显示设置</span>
@@ -34,6 +34,7 @@ import {
 import { DownOutlined } from "@ant-design/icons-vue";
 import { computed, watch, watchEffect } from "vue";
 import { selectPaths } from "@/store";
+import { currentModel, fuseModel } from "@/model";
 
 const props = defineProps<{ value?: Record<string, boolean> }>();
 const emit = defineEmits<{ (e: "update:value", v: Record<string, boolean>): void }>();