fix 修复默认应用的问题
This commit is contained in:
@@ -24,7 +24,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
form: {
|
||||
active: 'N',
|
||||
active: false,
|
||||
},
|
||||
rules: {
|
||||
name: [{ required: true, message: '请输入应用名称' }],
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
<a-button @click="onOpen('add-form')" icon="plus">新增应用</a-button>
|
||||
</Auth>
|
||||
<span slot="active" slot-scope="text, record">
|
||||
{{ bindCodeValue(text, 'yes_or_no') }}
|
||||
<Auth auth="sysApp:setAsDefault" v-if="record.active == 'N'">
|
||||
{{ text ? '是' : '否' }}
|
||||
<Auth auth="sysApp:setAsDefault" v-if="!record.active">
|
||||
<yo-table-actions>
|
||||
<span></span>
|
||||
<a-popconfirm
|
||||
|
||||
Reference in New Issue
Block a user