Explorar el Código

fix: 表单逻辑控制

lanceJiang hace 1 año
padre
commit
abfa5eac93
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/components/packages/utils/field.js

+ 1 - 1
src/components/packages/utils/field.js

@@ -18,7 +18,7 @@ const wrapElement = (element, fn) => {
 		}
 		if (!node.id) {
 			// node.id = nanoid()
-			node.id = new Date().getTime()
+			node.id = +new Date() + ''
 		}
 		if (!node.key) {
 			node.key = `${node.type}${node.id}`