Commit 685160ab by 李伟康

commit

1 parent 3021cf4b
......@@ -10,17 +10,26 @@
<transition name="fade">
<router-view v-if="!$route.meta.keepAlive"></router-view>
</transition>
<template v-if="$route.meta.isTab && entry != 'normal'">
<tab-bar :data="tabList"></tab-bar>
<template v-if="IS_PROD">
<template v-if="$route.meta.isTab && entry != 'normal'">
<tab-bar :data="tabList"></tab-bar>
</template>
</template>
<template v-else>
<template v-if="$route.meta.isTab">
<tab-bar :data="tabList"></tab-bar>
</template>
</template>
</template>
</div>
</template>
<script>
const IS_PROD = ['production', 'prod'].includes(process.env.NODE_ENV)
export default {
data() {
return {
entry: 'chat_attachment',
entry: 'normal',
IS_PROD,
tabList: [
{
title: '卡券',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!