修复菜单排序问题
This commit is contained in:
@@ -40,6 +40,6 @@ export function delData(code) {
|
||||
return request({
|
||||
url: '/article/delList',
|
||||
method: 'delete',
|
||||
data:"string"==typeof(code)?code:[code]
|
||||
data:"string"==typeof(code)?[code]:code
|
||||
})
|
||||
}
|
||||
|
||||
@@ -49,6 +49,6 @@ export function delData(code) {
|
||||
return request({
|
||||
url: '/<#= entityName #>/delList',
|
||||
method: 'delete',
|
||||
data:"string"==typeof(code)?code:[code]
|
||||
data:"string"==typeof(code)?[code]:code
|
||||
})
|
||||
}
|
||||
|
||||
@@ -297,9 +297,9 @@ function submitForm() {
|
||||
}
|
||||
/** 删除按钮操作 */
|
||||
function handleDelete(row) {
|
||||
const ids = row.id || ids.value;
|
||||
proxy.$modal.confirm('是否确认删除字典编号为"' + ids + '"的数据项?').then(function() {
|
||||
return delData(ids);
|
||||
const delIds = row.id || ids.value;
|
||||
proxy.$modal.confirm('是否确认删除字典编号为"' + delIds + '"的数据项?').then(function() {
|
||||
return delData(delIds);
|
||||
}).then(() => {
|
||||
getList();
|
||||
proxy.$modal.msgSuccess("删除成功");
|
||||
|
||||
Reference in New Issue
Block a user