master
parent
c8ca1bf0c1
commit
ffe2db7832
|
@ -7,6 +7,13 @@ export function findConnectorList(data) {
|
|||
data:data
|
||||
})
|
||||
}
|
||||
export function findApiList(data) {
|
||||
return request({
|
||||
url: '/mart/connector/findApiList',
|
||||
method: 'post',
|
||||
data:data
|
||||
})
|
||||
}
|
||||
export function addConnector(data) {
|
||||
return request({
|
||||
url: '/mart/connector/addConnector',
|
||||
|
|
|
@ -197,7 +197,7 @@
|
|||
<script>
|
||||
//这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等),
|
||||
//例如:import 《组件名称》 from '《组件路径》,
|
||||
import {findConnectorList} from "@/api/port/port";
|
||||
import {findApiList} from "@/api/port/port";
|
||||
import index from "vuex";
|
||||
import {phonePlace} from "@/api/port/port";
|
||||
import {getIpPlace} from "@/api/port/port";
|
||||
|
@ -431,8 +431,8 @@ export default {
|
|||
}
|
||||
})
|
||||
},
|
||||
findConnectorList(){
|
||||
findConnectorList(this.form).then((res)=>{
|
||||
findApiList(){
|
||||
findApiList(this.form).then((res)=>{
|
||||
this.connectorList=res.data;
|
||||
console.log(res.data);
|
||||
})
|
||||
|
@ -441,7 +441,7 @@ export default {
|
|||
//生命周期 - 创建完成(可以访问当前this实例)",
|
||||
created() {
|
||||
this.fetchUserBalance();
|
||||
this.findConnectorList();
|
||||
this.findApiList();
|
||||
},
|
||||
//生命周期 - 挂载完成(可以访问DOM元素)",
|
||||
mounted() {
|
||||
|
|
Loading…
Reference in New Issue