0

不看文档 onLoad调用? 使用 uni.createSelectorQuery() 需要在生命周期 mounted 后进行调用。

2021-09-18 16:42

0

https://uniapp.dcloud.io/platform?id=preprocessor

2021-09-18 16:29

0

你确定你写对了?

2021-09-18 16:27

0

const query = uni.createSelectorQuery().in(this); query.select('#id').boundingClientRect(data => { console.log("得到布局位置信息...

2021-09-18 16:27

0

把this.xx改成getApp().xx试试

2020-10-16 09:02

2

import Vue from 'vue' let vm = new Vue()

2020-09-17 08:51

2

顶,同样的问题

2020-09-09 16:41

1

this.xx改成getApp().xx就行了

2020-09-04 15:55

0

App.vue不行吗

2020-08-22 16:36

0

媒体查询 再写一套样式

2020-08-17 18:12

0

uni.navigateTo({ url: '/pages/xxx/xxx?id='+id })

2020-08-17 17:34

0

是不是最近把ios升级到13以上了

2020-08-13 11:20