@click="getIndex();getIndex2()" 不同方法中间需要用 ";" 号分隔 转载于:https://www.cnblogs.com/sunpangyu/p/11526781.html