reactor:getSystemInfoSync =》 getWindowInfo,解决 device
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
</block>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
<!-- 富文本 -->
|
||||
<!-- #ifdef H5 || ((MP-WEIXIN || MP-QQ || APP-PLUS || MP-360) && VUE2) -->
|
||||
<rich-text v-else-if="!n.c&&!handler.isInline(n.name, n.attrs.style)" :id="n.attrs.id" :style="n.f" :user-select="opts[4]" :nodes="[n]" />
|
||||
@@ -125,7 +125,7 @@ export default {
|
||||
return {
|
||||
ctrl: {},
|
||||
// #ifdef MP-WEIXIN
|
||||
isiOS: uni.getSystemInfoSync().system.includes('iOS')
|
||||
isiOS: uni.getDeviceInfo().system.includes('iOS')
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
|
||||
@@ -77,11 +77,13 @@ const config = {
|
||||
}
|
||||
const tagSelector={}
|
||||
const {
|
||||
windowWidth,
|
||||
// #ifdef MP-WEIXIN
|
||||
system
|
||||
// #endif
|
||||
} = uni.getSystemInfoSync()
|
||||
} = uni.getDeviceInfo()
|
||||
const {
|
||||
windowWidth
|
||||
} = uni.getWindowInfo()
|
||||
const blankChar = makeMap(' ,\r,\n,\t,\f')
|
||||
let idIndex = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user