mirror of
https://gitee.com/fantastic-admin/basic.git
synced 2024-12-05 05:27:39 +08:00
代码微调,解决控制台警告
This commit is contained in:
parent
ec57941720
commit
3b7ab4d4f2
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div v-if="item.meta.sidebar !== false" class="sidebar-item">
|
||||
<el-sub-menu v-if="item.path == undefined" :title="item.meta.title" :index="item">
|
||||
<el-sub-menu v-if="item.path == undefined" :title="item.meta.title" :index="JSON.stringify(item)">
|
||||
<template #title>
|
||||
<svg-icon v-if="item.meta.icon" :name="item.meta.icon" class="icon" />
|
||||
<span class="title">{{ item.meta.title }}</span>
|
||||
|
Loading…
Reference in New Issue
Block a user