mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-04 05:32:26 +08:00
修复封装state时忘记修改html导致的报错
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
class="thing-cell"
|
||||
v-for="item in typeTabList"
|
||||
:key="item.key"
|
||||
:class="{ 'thing-cell-on': type === item.key }"
|
||||
:class="{ 'thing-cell-on': state.type === item.key }"
|
||||
@click="switchType(item)"
|
||||
>
|
||||
<template #header>{{ item.name }}</template>
|
||||
@@ -16,10 +16,10 @@
|
||||
</n-card>
|
||||
</n-grid-item>
|
||||
<n-grid-item span="18">
|
||||
<n-card :bordered="false" size="small" :title="typeTitle" class="proCard">
|
||||
<BasicSetting v-if="type === 1" />
|
||||
<RevealSetting v-if="type === 2" />
|
||||
<EmailSetting v-if="type === 3" />
|
||||
<n-card :bordered="false" size="small" :title="state.typeTitle" class="proCard">
|
||||
<BasicSetting v-if="state.type === 1" />
|
||||
<RevealSetting v-if="state.type === 2" />
|
||||
<EmailSetting v-if="state.type === 3" />
|
||||
</n-card>
|
||||
</n-grid-item>
|
||||
</n-grid>
|
||||
|
||||
Reference in New Issue
Block a user