This commit is contained in:
刘仕伟
2022-03-04 09:19:56 +08:00
parent 047279fe16
commit 961993ae2b

View File

@@ -58,7 +58,7 @@
</el-table-column>
<el-table-column align="center" label="是否强制更新" :width="120">
<template slot-scope="{row}">
<span v-if="row.type === '0'">{{ row.isForceUpdate === '0' ? '否' : '是' }}</span>
<span v-if="row.type === '1'">{{ row.isForceUpdate === '0' ? '否' : '是' }}</span>
<span v-else>-</span>
</template>
</el-table-column>
@@ -136,7 +136,7 @@
<el-input style="width: 240px" type="textarea" :rows="3" v-model="dialog.add.updateLog" placeholder="请输入..."
clearable></el-input>
</el-form-item>
<el-form-item :required="dialog.add.type === '0'" v-if="dialog.add.type === '0'" label="是否强制更新"
<el-form-item :required="dialog.add.type === '1'" v-if="dialog.add.type === '1'" label="是否强制更新"
prop="isForceUpdate">
<el-switch
v-model="dialog.add.isForceUpdate" active-value="1" inactive-value="0">