时间: 2025-01-17 14:37:38 类型: Android云端证书 打包失败
e: file://[PackagePath]/wgtRoot/UNIB36439B/.uniappx/android/src/pages/customer/customer.kt:40:138 Unresolved reference: customerName
e: file://[PackagePath]/wgtRoot/UNIB36439B/.uniappx/android/src/pages/customer/customer.kt:46:141 Unresolved reference: creationTime
e: file://[PackagePath]/wgtRoot/UNIB36439B/.uniappx/android/src/pages/customer/customer.kt:56:111 Unresolved reference: ownerName
就调用了个接口,循环展示字段,打包不成功;
uni-app x 项目,非云端项目
8***@qq.com (作者)
真机也运行不了,
<view v-for="(customer, index) in customerList" :key="index" class="customer-item">
<view class="row">
<view @click="goToDetail(customer)" class="left" style="font-weight: bold;">
{{ customer.customerName }}
</view>
<view class="right">正在跟进</view>
</view>
<view class="row">
<view class="left">创建时间:{{ formatTimestamp(customer.creationTime) }}</view>
<view class="right">
<image class="avatar" src="/static/user.png"></image>
</view>
</view>
</view>
本地浏览器正常运行,android打包 customer.customerName 无法识别
2025-01-18 10:17