bill 4 月之前
父节点
当前提交
cca559389a
共有 1 个文件被更改,包括 2 次插入1 次删除
  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 }>();