修改恢复文件bug
This commit is contained in:
parent
30068b67c7
commit
8feda165b2
|
@ -61,7 +61,7 @@
|
|||
recoverFile } from '@/api/recycleBin'
|
||||
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
||||
import JEllipsis from "@/components/jeecg/JEllipsis";
|
||||
import {deleteAction, postAction} from '@/api/manage'
|
||||
import {putAction} from '@/api/manage'
|
||||
export default {
|
||||
name: "recycling",
|
||||
mixins:[JeecgListMixin],
|
||||
|
@ -165,7 +165,7 @@
|
|||
},
|
||||
processFile: function (id) {
|
||||
var that = this;
|
||||
recoverFile({id:id}).then((res) => {
|
||||
putAction("/recycleBin/recoverFile?id="+id,{}).then((res) => {
|
||||
if (res.success) {
|
||||
this.$message.success(res.message);
|
||||
that.loadData();
|
||||
|
|
Loading…
Reference in New Issue
Block a user