fix(ncform-common): avoid assigning a value to readonly this.$http

This commit is contained in:
daniel.xiao
2018-12-24 10:51:10 +08:00
parent 3be88ba79d
commit 65dcd1404a
@@ -5,7 +5,9 @@ import ncformUtils from "../../ncform-utils";
export default {
created() {
this.$http = this.$http || this.$axios || this.axios || axios;
if (!this.$http) {
this.$http = this.$axios || this.axios || axios;
}
this.$data.mergeConfig = extend(
true,