shish 1 gadu atpakaļ
vecāks
revīzija
bc87aec55a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      ghsApp/src/admin/expend/list.vue

+ 1 - 1
ghsApp/src/admin/expend/list.vue

@@ -224,7 +224,7 @@ export default {
 			const that = this;
 			const that = this;
 			this.$util.confirmModal({content:'确认要删除?系统将会记录由谁删除'},() => {
 			this.$util.confirmModal({content:'确认要删除?系统将会记录由谁删除'},() => {
 				deleteExpend({ id: item.id, staffId: item.staffId }).then(result =>{
 				deleteExpend({ id: item.id, staffId: item.staffId }).then(result =>{
-					if (result.code === 1) {
+					if (result.code == 1) {
 						that.$msg('删除成功');
 						that.$msg('删除成功');
 						that.resetList();
 						that.resetList();
 						that.init();
 						that.init();