在el-from中,form.reportid为要链接的表名和对应的url,为啥用:herf,因为我的url是变化的:
<el-form-item label="报告">
<a :href="form.reportid" target="_blank" class="buttonText">{{form.reportid}}</a>
</el-form-item>
在el-table中:
<el-table-column label="报告" show-overflow-tooltip>
<template slot-scope="scope">
<a :href="scope.row.reportid" target="_blank" class="buttonText">{{scope.row.reportid}}</a>
</template>
</el-table-column>
其它:
<li>
<el-link href="your_url_info"
type="primary" target="_blank" style="font-size: 32px">文档说明
</el-link>
</li>