下面是例子
<button @click="up">从高到低</button>
<button @click="down">从低到高</button>
js代码
export default {
data
下面是例子
<button @click="up">从高到低</button>
<button @click="down">从低到高</button>
js代码
export default {
data