提交 8a31f806 编写于 作者: K keyinghao

提交

上级 0e33bf61
......@@ -28,7 +28,6 @@ const menu = {
actions: {
setMenu({ commit }) {
return new Promise(resolve => {
console.log("用户信息" + commit)
// TODO 后续续修改为从服务器获取,并且做数据处理
commit('set_system_menu', mockMenuData)
resolve()
......
......@@ -70,7 +70,9 @@ export default {
message: "提交失败"
});
}
})
}).catch(() => {
this.loading.hide()
})
} else {
this.$message({
type: 'error',
......
......@@ -79,6 +79,8 @@
message: "更新失败"
});
}
}).catch(() => {
this.loading.hide()
})
} else {
this.$message({
......
......@@ -109,7 +109,9 @@ export default {
message: "提交失败"
});
}
})
}).catch(() => {
this.loading.hide()
})
} else {
this.$message({
type: 'error',
......
......@@ -71,6 +71,8 @@
message: "提交失败"
});
}
}).catch(() => {
this.loading.hide()
})
} else {
this.$message({
......
......@@ -210,7 +210,9 @@
message: "提交失败"
});
}
})
}).catch(() => {
this.loading.hide()
})
},
handleClose(done) {
this.$emit('close-callback')
......
......@@ -27,12 +27,6 @@ public class SysMenuUserRESQ implements Serializable {
@ApiModelProperty(value = "主键")
@JsonSerialize(using = ToStringSerializer.class)
private Long id;
/**
* 父ID
*/
@ApiModelProperty(value = "父ID")
@JsonSerialize(using = ToStringSerializer.class)
private Long parentId;
/**
* 菜单名称
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册