do you have any better suggestions for writing norms like this?
`
axios
.post("/au/api/rulereleaseapply/findAllPubTask", {
branchCode: userInfor[0].branchCode,
userCode: userInfor[0].userCode,
busiinfoFive: "11"
})
.then(response => {
if (response.data.success) {
debugger;
console.log("=>", response.data);
_this.ruleReleaseVertifyData = response.data.entity.items;
loading.close();
} else {
loading.close();
this.$message({
showClose: true,
message: response.data.errorMessage,
type: "error"
});
}
}).catch(response =>{
console.log("err",response);
loading.close();
loading.close();
this.$message({
showClose: true,
message: response.message,
type: "error"
});
})
`