Revert "fix: set TensorRT LLM menu visibility (#10693)"

This reverts commit 79d9d9dfc2.
This commit is contained in:
wanghe-fit2cloud 2025-10-20 21:49:03 +08:00
parent 12e1a6a855
commit dd70be51b3

View file

@ -8,9 +8,6 @@
</template>
<script lang="ts" setup>
import { useGlobalStore } from '@/composables/useGlobalStore';
const { isFxplay } = useGlobalStore();
const buttons = [
{
label: 'Ollama',
@ -21,10 +18,4 @@ const buttons = [
path: '/ai/model/tensorrt',
},
];
onMounted(() => {
if (!isFxplay.value) {
buttons.splice(1, 1);
}
});
</script>