Skip to content

Commit

Permalink
加一
Browse files Browse the repository at this point in the history
  • Loading branch information
linyisonger committed Sep 28, 2024
1 parent 34bc8a5 commit f220d35
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
30 changes: 30 additions & 0 deletions 076.随机数据.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./assets/global.css">
</head>

<body>
<script type="module">

// import "https://gcore.jsdelivr.net/npm/@3r/tool@1.5.0/lib/randoms.js";
import { Fakery } from "https://gcore.jsdelivr.net/npm/@3r/tool@1.5.1/lib/fakery.js";

// 创建假数据组
function createFakeryGroup() {
console.log('身份证号码', Fakery.citizenIdentificationNumber());
console.log('社会统一信用代码', Fakery.usci());
console.log('手机号码', Fakery.phoneNumber());
console.log('姓名', Fakery.fullName());
console.log('银行卡号码 [工商银行卡号]', Fakery.bankCardNumber());
}

createFakeryGroup()
</script>
</body>

</html>
1 change: 1 addition & 0 deletions examples.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,5 @@
073.Svg 半圆.html
074.echart 常见饼图.html
075.Three.js 观察物体.html
076.随机数据.html
index.html

0 comments on commit f220d35

Please sign in to comment.