【fix ESLint】src/views/system

This commit is contained in:
danshihao
2023-03-07 16:22:21 +08:00
parent 586837f1f6
commit 1eb59a3fd6
23 changed files with 159 additions and 159 deletions
@@ -17,9 +17,9 @@
:loading="loading"
class="j-table-force-nowrap"
@change="handleTableChange">
<span slot="status" slot-scope="text, record, index">
<a-tag color="pink" v-if="text==0">禁用</a-tag>
<a-tag color="#87d068" v-if="text==1" >正常</a-tag>
<span slot="status" slot-scope="text">
<a-tag color="pink" v-if="(text + '')==='0'">禁用</a-tag>
<a-tag color="#87d068" v-if="(text + '')==='1'" >正常</a-tag>
</span>
<span slot="action" slot-scope="text, record">
<a @click="showModal(record)">编辑</a>