原生安卓 App中嵌套 H5, H5不能使用緩存報一下提示:
Cannot read property 'getItem' of null
通過webView 設置開啓緩存
WebSettings settings = newWebView.getSettings();
settings.setDomStorageEnabled(true);//開啓緩存
原生安卓 App中嵌套 H5, H5不能使用緩存報一下提示:
Cannot read property 'getItem' of null
通過webView 設置開啓緩存
WebSettings settings = newWebView.getSettings();
settings.setDomStorageEnabled(true);//開啓緩存
1.selectedColor不起作用 1.查看位置是否寫對,與lis同級 2.是否爲16進制,selectedColor寫的rgb不支持 3.是否被其他樣式覆蓋,其他地方也設置過sele
/** * 圖片壓縮,大仙造 * 技術交流495120021 * @param fil * @param id */