API布局格式

master
chaiyapeng 2024-09-03 22:37:31 +08:00
parent 332a019f59
commit 9ca3055f7f
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
<el-menu-item-group > <el-menu-item-group >
<el-link type="primary" style="font-weight: bold;font-size: 20px;" v-for="(connectSort, index) in connectSort" <el-link type="primary" style="font-weight: bold;font-size: 20px;" v-for="(connectSort, index) in connectSort"
:key="index" :key="index"
:href="connectSort.connectorSort"> @click="findApiList(connectSort.connectorSort)">
{{ connectSort.connectorSort }} {{ connectSort.connectorSort }}
</el-link> </el-link>
</el-menu-item-group> </el-menu-item-group>
@ -479,7 +479,7 @@ export default {
}) })
}, },
findApiList(){ findApiList(){
findApiList(this.form).then((res)=>{ findApiList(this.form,index).then((res)=>{
this.connectorList=res.data; this.connectorList=res.data;
console.log(res.data); console.log(res.data);
}) })