瀏覽代碼

Improved form

Bonyant 2 年之前
父節點
當前提交
24ec9ed525
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      08/index.js

+ 1 - 1
08/index.js

@@ -281,7 +281,7 @@ function Form(el = sFormContainer, data, okCallback, cancelCallback) {
     const th = document.createElement("th");
     th.innerHTML =
       key[0] === "*"
-        ? `<span style="color: #ff0000">${key[0]}</span> ${key.slice(1)}`
+        ? `<span style="color: red">${key[0]}</span> ${key.slice(1)}`
         : key;
 
     const td = document.createElement("td");