fix: 修复 ns-empty 组件的 isIndex 属性绑定
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user