react native 中获取屏幕宽度方法

    xiaoxiao2021-03-27  29

    //获取屏幕宽度 var Dimensions = require('Dimensions'); var width = Dimensions.get('window').width; console.log(width);
    转载请注明原文地址: https://ju.6miu.com/read-664546.html

    最新回复(0)