vue中@click(function())中function接受来自data中返回的值

v u e 中 @ c l i c k ( f u n c t i o n ( ) ) 中 f u n c t i o n 接 受 来 自 d a t a 中 返 回 的 值 vue中@click(function())中function接受来自data中返回的值 vue@click(function())functiondata

@click="Video(dataset.introduction_video_url)"
  <el-col :span="8">
    <div class="content">
        <h1 style="font-size:35px" >{
    
    {
    
    dataset.name}}</h1>
        <br>
        {
    
    {
    
    dataset.introduction}}
    </div>
  </el-col>
</el-row>
<br>
<br>
<!-- 2.各类按钮 -->
<el-row :gutter="20">
  <el-col :span="5"  :offset="2"><el-button type="primary" @click="Download(dataset.download_url)">数据集下载</el-button></el-col>
  <el-col :span="5"><el-button type="primary" @click="Evaluate">评测</el-button></el-col>
  <el-col :span="5"><el-button type="primary" @click="Video(dataset.introduction_video_url)">视频讲解</el-button></el-col>
  <el-col :span="5"><el-button type="primary" @click="Donate">贡献同类数据集</el-button></el-col>
</el-row>

在这里插入图片描述
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_41375318/article/details/115281731
今日推荐