Browse Source

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

pull/524/head
Xu, Quentin Yang 3 years ago committed by GitHub
parent
commit
0e9c126616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/views/interface/components/MenuInternalLinkSelector.vue

4
src/views/interface/components/MenuInternalLinkSelector.vue

@ -47,7 +47,7 @@
<a-list-item v-for="(item, index) in sheet.independents" :key="index"> <a-list-item v-for="(item, index) in sheet.independents" :key="index">
<a-list-item-meta :description="item.fullPath" :title="item.title" /> <a-list-item-meta :description="item.fullPath" :title="item.title" />
<template slot="actions"> <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-icon type="plus-circle" />
</a-button> </a-button>
</template> </template>
@ -59,7 +59,7 @@
<a-list-item v-for="(item, index) in sheet.customs.data" :key="index"> <a-list-item v-for="(item, index) in sheet.customs.data" :key="index">
<a-list-item-meta :description="item.fullPath" :title="item.title" /> <a-list-item-meta :description="item.fullPath" :title="item.title" />
<template slot="actions"> <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-icon type="plus-circle" />
</a-button> </a-button>
</template> </template>

Loading…
Cancel
Save