|
@@ -94,9 +94,7 @@ export default {
|
|
|
del: {
|
|
|
prompt: '此操作将永久删除数据, 是否继续?',
|
|
|
click: ({ row, index, column }) => {
|
|
|
- workerStockDel({
|
|
|
- ids: [row.id]
|
|
|
- }).then(res => {
|
|
|
+ workerStockDel([row.id]).then(res => {
|
|
|
this.$message({
|
|
|
message: '删除成功',
|
|
|
type: 'success'
|