shish пре 1 година
родитељ
комит
bc87aec55a
1 измењених фајлова са 1 додато и 1 уклоњено
  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;
 			this.$util.confirmModal({content:'确认要删除?系统将会记录由谁删除'},() => {
 				deleteExpend({ id: item.id, staffId: item.staffId }).then(result =>{
-					if (result.code === 1) {
+					if (result.code == 1) {
 						that.$msg('删除成功');
 						that.resetList();
 						that.init();