mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-07 19:23:48 +08:00
删除多余字符串
This commit is contained in:
@@ -64,7 +64,7 @@
|
|||||||
<a-row class="smart-table-btn-block">
|
<a-row class="smart-table-btn-block">
|
||||||
<div class="smart-table-operate-block">
|
<div class="smart-table-operate-block">
|
||||||
#if($insertAndUpdate.isSupportInsertAndUpdate)
|
#if($insertAndUpdate.isSupportInsertAndUpdate)
|
||||||
<a-button @click="showForm" type="primary" size="small">
|
<a-button @click="showForm()" type="primary" size="small">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<PlusOutlined />
|
<PlusOutlined />
|
||||||
</template>
|
</template>
|
||||||
@@ -245,7 +245,7 @@
|
|||||||
function onDelete(data){
|
function onDelete(data){
|
||||||
Modal.confirm({
|
Modal.confirm({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
content: '确定要删除选吗?',
|
content: '确定要删除吗?',
|
||||||
okText: '删除',
|
okText: '删除',
|
||||||
okType: 'danger',
|
okType: 'danger',
|
||||||
onOk() {
|
onOk() {
|
||||||
@@ -260,9 +260,6 @@
|
|||||||
async function requestDelete(data){
|
async function requestDelete(data){
|
||||||
SmartLoading.show();
|
SmartLoading.show();
|
||||||
try {
|
try {
|
||||||
let deleteForm = {
|
|
||||||
goodsIdList: selectedRowKeyList.value,
|
|
||||||
};
|
|
||||||
await $!{name.lowerCamel}Api.delete(data.$!{primaryKeyFieldName});
|
await $!{name.lowerCamel}Api.delete(data.$!{primaryKeyFieldName});
|
||||||
message.success('删除成功');
|
message.success('删除成功');
|
||||||
queryData();
|
queryData();
|
||||||
|
|||||||
Reference in New Issue
Block a user