代码已经定义错误时显示的信息,为什么界面还会显示原始的错误提示:
错误:{"code":"TOKEN_INVALID_ANONYMOUS_USER"}
<unicloud-db ref='udb' v-slot:default="{data,pagination,hasMore, loading, error, options}" @error="onqueryerror"
:collection="colList" :page-size="3" where="user_id==$cloudEnv_uid" field=""
orderby="landlord_id.collect_state desc">
<view v-if="error">
<button type="default" @click="gotoShow">当前未登录,点击前往演示页面</button>
</view>
</unicloud-db>