fix: 修复 ns-empty 组件的 isIndex 属性绑定

This commit is contained in:
2026-10-13 08:38:12 +08:00
parent 8f82d97c95
commit 8c5ed50f7a
5 changed files with 5 additions and 5 deletions

View File

@@ -53,7 +53,7 @@
<text v-else class="load-end">— 没有更多了 —</text>
</view>
<ns-empty v-if="!isLoading && list.length === 0" isIndex="false"
<ns-empty v-if="!isLoading && list.length === 0" :isIndex="false"
:text="'暂无人脉,点右上角添加'"></ns-empty>
</view>
</view>

View File

@@ -66,7 +66,7 @@
<view class="detail-loading" v-if="isLoading">加载中…</view>
<!-- 不存在 / 无权查看 -->
<ns-empty v-if="!isLoading && !relation" isIndex="false"
<ns-empty v-if="!isLoading && !relation" :isIndex="false"
:text="errorMsg || '卡片不存在或已被删除'"></ns-empty>
</view>
</template>

View File

@@ -41,7 +41,7 @@
<text v-else class="load-end">— 没有更多了 —</text>
</view>
<ns-empty v-if="!isLoading && list.length === 0" isIndex="false"
<ns-empty v-if="!isLoading && list.length === 0" :isIndex="false"
:text="'暂无意向客户,访客在你的名片页留资后会出现在这里'"></ns-empty>
</view>
</view>

View File

@@ -36,7 +36,7 @@
</view>
<!-- 空态 -->
<ns-empty v-if="!isLoading && list.length === 0" isIndex="false"
<ns-empty v-if="!isLoading && list.length === 0" :isIndex="false"
:text="emptyText"></ns-empty>
</view>
</view>

View File

@@ -25,7 +25,7 @@
</view>
</block>
<view>
<ns-empty v-if="list.length === 0" isIndex="false" :text="$lang('seal.medium.search.noData')"></ns-empty>
<ns-empty v-if="list.length === 0" :isIndex="false" :text="$lang('seal.medium.search.noData')"></ns-empty>
</view>
</view>
</view>