info
This commit is contained in:
@@ -180,7 +180,7 @@ export default {
|
||||
},
|
||||
onReady() {
|
||||
// 开始加载数据,修改 where 条件后才开始去加载 clinetDB 的数据 ,需要等组件渲染完毕后才开始执行 loadData,所以不能再 onLoad 中执行
|
||||
if (this.id) { // ID 不为空,则发起查询
|
||||
if (this.id) {
|
||||
this.$refs.detail.loadData()
|
||||
} else {
|
||||
uni.showToast({
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user