|
|
@@ -24,7 +24,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { getTopicList, getTopicSecondaryList } from "@/utils/api";
|
|
|
+import { getTopicSecondaryList } from "@/utils/api";
|
|
|
export default {
|
|
|
//import引入的组件需要注入到对象中才能使用
|
|
|
components: {},
|
|
|
@@ -55,7 +55,7 @@ export default {
|
|
|
},
|
|
|
async handleSecondaryList() {
|
|
|
// const res = await getTopicSecondaryList(this.secondId);
|
|
|
- const res = await getTopicSecondaryList(15);
|
|
|
+ const res = await getTopicSecondaryList(this.secondId);
|
|
|
console.log("res", res.data);
|
|
|
this.secondaryList = res.data || [];
|
|
|
},
|