mirror of
https://github.com/vxcontrol/ncform.git
synced 2026-07-19 18:23:32 -04:00
fix(ncform-common): avoid assigning a value to readonly this.$http
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user