ow
This commit is contained in:
1 parent
f2f5807372
commit
5d0b0c751a
16 files changed
+746
-10
No files matched your search
@@ -396,12 +396,12 @@
|
||||
</a-row>
|
||||
<a-row v-else :gutter="[16, 8]">
|
||||
<a-space>
|
||||
<a-button type="primary" v-if="canAmend" :icon="h(EditOutlined)" :disabled="!hasData"
|
||||
@click.prevent="onAmend">修改</a-button>
|
||||
<a-button type="primary" v-if="canAmend && data.IsCanAmend" :icon="h(EditOutlined)"
|
||||
:disabled="!hasData" @click.prevent="onAmend">修改</a-button>
|
||||
<a-popconfirm :disabled="!hasData" title="确定是否删除这条记录?" ok-text="是" cancel-text="否"
|
||||
@confirm="onDelete">
|
||||
<a-button type="primary" danger :icon="h(DeleteOutlined)" :disabled="!hasData"
|
||||
v-if="canDelete">删除</a-button>
|
||||
v-if="canDelete && data.IsCanAmend">删除</a-button>
|
||||
</a-popconfirm>
|
||||
</a-space>
|
||||
</a-row>
|
||||
|
||||
Reference in new issue
Block a user