
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
其实Taro.createSelectorQuery()这个API的坑很浅的,不算很难。一开始刚使用的时候大家发现const query = Taro.createSelectorQuery().select(className).boundingClientRect();query.exec(res => {console.log(res);...
import {computed,watch,} from 'vue';const getShowTask = computed(()=>{//返回的是ref对象return store.state.监听的字段;})watch(getShowTask, (newVal, oldVal) => {console.log('newVal, oldVal', newVal, oldVal)}
uni.createIntersectionObserver 在自定义组件中无法获取到对应的dom节点:uni.createIntersectionObserver().relativeTo('.consult_title').observe('#consultNotice', (res) => {//目前这种方式在开发者工具中会报 Node '.consult_title' is not
import {computed,watch,} from 'vue';const getShowTask = computed(()=>{//返回的是ref对象return store.state.监听的字段;})watch(getShowTask, (newVal, oldVal) => {console.log('newVal, oldVal', newVal, oldVal)}







