docs(course): polish all lesson text and remove mismatched troubleshooting details
This commit is contained in:
1 parent
c9707129da
commit
a68d4193bf
2 files changed
+18
-19
No files matched your search
@@ -1,8 +1,7 @@
|
||||
# 第7节|KMP 商城实操讲稿
|
||||
## 主题:MVVM 重构 + 全流程整合(结业可演示版本)
|
||||
|
||||
> 这份讲稿是“从第6节基础版迭代到结业版”的步骤脚本。
|
||||
> 跟着写完可以稳定达到:
|
||||
> 从第6节基础版迭代到结业版,按步骤完成可达到:
|
||||
> **两列商品列表 + 详情页 + 购物车底部结算栏 + MVVM 架构 + 后端联调 + 图片兜底**。
|
||||
|
||||
---
|
||||
@@ -171,9 +170,9 @@ ProductApi(baseUrl = "https://shopneu.hmos.site/api", useMock = false)
|
||||
- 过滤前先 `trim()`
|
||||
|
||||
### 3)真机请求不到后端
|
||||
- 后端监听是否 `0.0.0.0:8080`
|
||||
- 手机和电脑是否同一 Wi-Fi
|
||||
- baseUrl 是否写成局域网 IP(不能写 localhost)
|
||||
- `baseUrl` 是否写成:`https://shopneu.hmos.site/api`
|
||||
- 设备网络是否可访问该域名(浏览器先验证)
|
||||
- 证书异常时检查系统时间与网络策略
|
||||
|
||||
### 4)`Only VectorDrawables...`
|
||||
- drawable 资源格式不合法
|
||||
|
||||
Reference in new issue
Block a user