diff --git a/src/App.vue b/src/App.vue index 83735b6afd72a65f53a2408ea5f43cbc50844175..100604ce5e9fb43b197ad316852a59c3134f512a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -81,7 +81,11 @@ export default { methods: { handleClick(index) { this.activeIndex = index; - } + }, + //写一个冒泡排序 + bubbleSort(arr) { + // 实现代码... + } } };