新增一个 devEnv 用于判断生产环境|开发环境

fix #26
This commit is contained in:
BTMuli
2023-05-24 15:45:03 +08:00
parent d1e39ed8cd
commit f55a688aae
4 changed files with 23 additions and 12 deletions

View File

@@ -40,12 +40,12 @@
</template>
</v-list-item>
<v-divider />
<v-list-item title="测试" value="test" link href="/user/test">
<v-list-item v-show="appStore.devEnv" title="测试" value="test" link href="/user/test">
<template #prepend>
<v-icon>mdi-test-tube</v-icon>
</template>
</v-list-item>
<v-divider />
<v-divider v-show="appStore.devEnv" />
<v-list-group value="wiki" fluid>
<template #activator="{ props }">
<v-list-item title="图鉴" v-bind="props">