🐛 修改ElBuntton为ElLink

This commit is contained in:
刘嘉伟 2023-12-01 14:51:21 +08:00
parent 0a86a8cf10
commit c9acbfc5f5

View File

@ -173,17 +173,25 @@ onUnmounted(() => {
></el-option> ></el-option>
</el-select> </el-select>
<div class="w-full flex justify-end"> <div class="w-full flex justify-end">
<el-button type="text" @click="handleLoadVersions"> <el-link type="primary" @click="handleLoadVersions">
<Icon class="mr-1" icon="material-symbols:refresh-rounded"/> <Icon class="mr-1" icon="material-symbols:refresh-rounded"/>
手动刷新 手动刷新
</el-button> </el-link>
<el-button <!-- <el-button type="text" @click="handleLoadVersions">-->
type="text" <!-- <Icon class="mr-1" icon="material-symbols:refresh-rounded"/>-->
@click="$router.replace({ name: 'Download' })" <!-- 手动刷新-->
> <!-- </el-button>-->
<el-link class="ml-2" type="primary" @click="$router.replace({ name: 'Download' })">
<Icon class="mr-1" icon="material-symbols:download-2"/> <Icon class="mr-1" icon="material-symbols:download-2"/>
点击这里去下载 点击这里去下载
</el-button> </el-link>
<!-- <el-button-->
<!-- type="text"-->
<!-- @click="$router.replace({ name: 'Download' })"-->
<!-- >-->
<!-- <Icon class="mr-1" icon="material-symbols:download-2"/>-->
<!-- 点击这里去下载-->
<!-- </el-button>-->
</div> </div>
</el-form-item> </el-form-item>
</el-col> </el-col>