LMLPHP后院

"Uncaught TypeError: Cannot read properties of null (reading 'getItem')"技术

maybe yes 发表于 2022-08-29 19:58

遇到如下报错,怎么办,于是查看了一些源代码。

Dplayer android 无法使用,报错

"Uncaught TypeError: Cannot read properties of null (reading 'getItem')",

搜索,通篇只有一次使用 getItem 是为了从 localStorage 里面拿东西。于是开启 localStorage 解决之。

2024-03-29 02:27:30 1711650450 0.020129