Skip to content

Commit c9affd2

Browse files
author
v-anzha
committed
fix code
1 parent 837ecf5 commit c9affd2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/api/http.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import store from "../store";
22
import router from "../router.js";
33

44
// 配置API接口地址
5-
var root = "http://localhost:58427/api";
6-
var root1 = "http://123.206.33.109:8018/api";
5+
var root1 = "http://localhost:58427/api";
6+
var root = "http://123.206.33.109:8081/api/";
77
// 引用axios
88
var axios = require("axios");
99
// 自定义判断元素类型JS

src/views/FormVuex.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="">
88
<br>
99
<br>
10-
<p>数据:{{_formData}}</p>
10+
<p>数据:{{_fatherData}}</p>
1111
</div>
1212
</div>
1313
</template>
@@ -30,7 +30,7 @@ export default {
3030
};
3131
},
3232
computed: {
33-
_formData() {
33+
_fatherData() {
3434
// 读取store里面的值
3535
return this.$store.state.formDatas;
3636
}

0 commit comments

Comments
 (0)