方案

let table = document.querySelector("body");
      if (table) {
        table.setAttribute("style", "background-color:#f7f7f7");
      }
      // document
      //   .querySelector("body")
      //   .setAttribute("style", "background-color:#f7f7f7");

相关文章:

  • 2021-06-19
  • 2021-12-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-20
  • 2022-12-23
  • 2021-05-10
猜你喜欢
  • 2022-12-23
  • 2021-05-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-17
相关资源
相似解决方案