fix: the real parameter was passed in error. (#520)

pull/524/head
Xu, Quentin Yang 3 years ago committed by GitHub
parent b58f9e76a4
commit 0e9c126616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47,7 +47,7 @@
<a-list-item v-for="(item, index) in sheet.independents" :key="index">
<a-list-item-meta :description="item.fullPath" :title="item.title" />
<template slot="actions">
<a-button class="!p-0" type="link" @click="handleInsertPre(item.name, item.fullPath)">
<a-button class="!p-0" type="link" @click="handleInsertPre(item.title, item.fullPath)">
<a-icon type="plus-circle" />
</a-button>
</template>
@ -59,7 +59,7 @@
<a-list-item v-for="(item, index) in sheet.customs.data" :key="index">
<a-list-item-meta :description="item.fullPath" :title="item.title" />
<template slot="actions">
<a-button class="!p-0" type="link" @click="handleInsertPre(item.name, item.fullPath)">
<a-button class="!p-0" type="link" @click="handleInsertPre(item.title, item.fullPath)">
<a-icon type="plus-circle" />
</a-button>
</template>

Loading…
Cancel
Save