mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 22:40:48 +00:00
improve: 代码生成删除判断
This commit is contained in:
parent
3f4396598a
commit
487909a894
@ -77,7 +77,7 @@
|
||||
<div v-else>--</div>
|
||||
</template>
|
||||
<template slot-scope="{ row, index }" slot="action">
|
||||
<a v-if="!foundation.primaryKey" @click="del(row, index)">删除</a>
|
||||
<a v-if="!tableField[index].primaryKey" @click="del(row, index)">删除</a>
|
||||
<span v-else>--</span>
|
||||
</template>
|
||||
</Table>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user