We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 837ecf5 commit c9affd2Copy full SHA for c9affd2
src/api/http.js
@@ -2,8 +2,8 @@ import store from "../store";
2
import router from "../router.js";
3
4
// 配置API接口地址
5
-var root = "http://localhost:58427/api";
6
-var root1 = "http://123.206.33.109:8018/api";
+var root1 = "http://localhost:58427/api";
+var root = "http://123.206.33.109:8081/api/";
7
// 引用axios
8
var axios = require("axios");
9
// 自定义判断元素类型JS
src/views/FormVuex.vue
@@ -7,7 +7,7 @@
<div class="">
<br>
10
- <p>数据:{{_formData}}</p>
+ <p>数据:{{_fatherData}}</p>
11
</div>
12
13
</template>
@@ -30,7 +30,7 @@ export default {
30
};
31
},
32
computed: {
33
- _formData() {
+ _fatherData() {
34
// 读取store里面的值
35
return this.$store.state.formDatas;
36
}
0 commit comments