|
@@ -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 }>();
|