提交 7ca4de64 编写于 作者: KK's avatar KK

环境变量控制更新日志

上级 966a715d
<template> <template>
<van-overlay class="app-update-log" :show="show" @click="onClick"> <van-overlay v-if="useUpdateLog" class="app-update-log" :show="show" @click="onClick">
<div class="wrapper" @click.stop> <div class="wrapper" @click.stop>
<div class="version"> <div class="version">
{{updateLog.version}} {{updateLog.version}}
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
<script lang="ts"> <script lang="ts">
import { Vue, Component, Prop, Provide, Emit, Watch } from "vue-property-decorator"; import { Vue, Component, Prop, Provide, Emit, Watch } from "vue-property-decorator";
import { updateLog } from './app-update-log'; import { updateLog } from './app-update-log';
import { Environment } from '@/environments/environment';
@Component({ @Component({
components: {}, components: {},
}) })
...@@ -29,6 +30,14 @@ export default class AppUpdateLog extends Vue { ...@@ -29,6 +30,14 @@ export default class AppUpdateLog extends Vue {
*/ */
public show: boolean = false; public show: boolean = false;
/**
* 启用更新日志
*
* @type {*}
* @memberof AppMobMenuDefaultView
*/
public useUpdateLog:boolean = Environment.useUpdateLog;
/** /**
* 蒙层点击 * 蒙层点击
* *
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册