import React, { useState } from "react";

function App() {
  const [headingText, setHeadingText] = useState("Hello");

  const changeColor = { backgroundColor: "" };
  function handleClic,reactjs"/>
	














首页 > 解决方案 > 无法分配给对象“#”的只读属性“backgroundColor”'
import React, { useState } from "react";

function App() {
  const [headingText, setHeadingText] = useState("Hello");

  const changeColor = { backgroundColor: "" };
  function handleClic