button的点击可以不用写事件<el-button @click=“tableFlag=true;temFlag=false“></el-button>
<el-button@click="buttonClick">点击路由</el-button><el-button@click="tableFlag=true;temFlag=false"></el-button>