Explorar el Código

修复:删除操作,提示错误

yezehua hace 6 años
padre
commit
29cbed1164
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      component/rehabilitation/template-items.js

+ 6 - 1
component/rehabilitation/template-items.js

@ -122,7 +122,12 @@ var TemplateItems = {
						templateId: vm.templateId
		            }).then(function(res) {
		            	vm.loading.close()
        				toastr && toastr.success("删除成功")
		            	if(res.status == 200) {
		            		toastr && toastr.success("删除成功")
		            	} else {
		            		toastr && toastr.error(res.msg)
		            	}
        				
        				EventBus.$emit("refresh-index")
        				vm.$router.replace("/")
		        	}).catch(function(e) {