diff --git a/README.en-US.md b/README.en-US.md
index ddd549c..8317c79 100644
--- a/README.en-US.md
+++ b/README.en-US.md
@@ -961,50 +961,33 @@ You can come to the following repositories for reference. Please leave a message
At the same time, if you have any questions during use, you can also ask and inquire in the issue or discussion.
-
-
-
-
-
- |
-
-
-
-
- |
-
-
-
-
- |
-
-
-
-
- |
-
-
-
-
- |
-
-
-
- ant-design
- |
-
- ant-design-vue
- |
-
- dumi
- |
-
- umi
- |
-
- vue-request
- |
-
+
+  |
+  |
+  |
+  |
+  |
+
+
+ ant-design |
+ ant-design-vue |
+ dumi |
+ material-ui |
+ umi |
+
+  |
+ |
+ |
+ |
+ |
+
+
+ vue-request |
+ |
+ |
+ |
+ |
+
## LICENSE
diff --git a/README.md b/README.md
index 1eb6140..414d868 100644
--- a/README.md
+++ b/README.md
@@ -956,50 +956,33 @@ x2 + y2
同时,如果你在使用过程中有什么疑问,也可以在 issue 或者 discussion 中进行提问和查询。
-
-
-
-
-
- |
-
-
-
-
- |
-
-
-
-
- |
-
-
-
-
- |
-
-
-
-
- |
-
-
-
- ant-design
- |
-
- ant-design-vue
- |
-
- dumi
- |
-
- umi
- |
-
- vue-request
- |
-
+
+  |
+  |
+  |
+  |
+  |
+
+
+ ant-design |
+ ant-design-vue |
+ dumi |
+ material-ui |
+ umi |
+
+  |
+ |
+ |
+ |
+ |
+
+
+ vue-request |
+ |
+ |
+ |
+ |
+
## LICENSE
diff --git a/docs/index.en-US.md b/docs/index.en-US.md
index c3f0422..1fa5f2b 100644
--- a/docs/index.en-US.md
+++ b/docs/index.en-US.md
@@ -51,7 +51,7 @@ jobs:
## 💖 Who is using?
-
+
## ⚡ Feedback
diff --git a/docs/index.md b/docs/index.md
index f2d6b86..3f74e01 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -51,7 +51,7 @@ jobs:
## 💖 谁在使用?
-
+
## ⚡ 反馈
diff --git a/package.json b/package.json
index 7434c00..35fe6d4 100644
--- a/package.json
+++ b/package.json
@@ -10,7 +10,8 @@
"docs-dev:build": "UMI_ENV=dev dumi build",
"docs:deploy": "gh-pages -d docs-dist",
"deploy": "npm run docs:build && npm run docs:deploy",
- "package": "ncc build src/main.js -o dist"
+ "package": "ncc build src/main.js -o dist",
+ "update": "node ./script/update-user.js"
},
"author": "xrkffgg",
"license": "MIT",
@@ -33,6 +34,7 @@
},
"devDependencies": {
"@vercel/ncc": "^0.25.1",
+ "common-tags": "^1.8.0",
"dotenv": "^8.2.0",
"dumi": "^1.1.0",
"gh-pages": "^3.1.0",
diff --git a/script/update-user.js b/script/update-user.js
new file mode 100644
index 0000000..4e066a8
--- /dev/null
+++ b/script/update-user.js
@@ -0,0 +1,111 @@
+const { readFileSync, writeFileSync } = require('fs');
+const { format } = require('prettier');
+const { stripIndent } = require('common-tags');
+
+// **************************************************************************
+
+let users = [
+ {
+ url: 'https://github.com/ant-design/ant-design',
+ logo: 'https://avatars1.githubusercontent.com/u/12101536?s=200&v=4'
+ },
+ {
+ url: 'https://github.com/vueComponent/ant-design-vue',
+ logo: 'https://avatars1.githubusercontent.com/u/32120805?s=200&v=4'
+ },
+ {
+ url: 'https://github.com/umijs/dumi',
+ logo: 'https://avatars1.githubusercontent.com/u/33895495?s=200&v=4'
+ },
+ {
+ url: 'https://github.com/umijs/umi',
+ logo: 'https://avatars1.githubusercontent.com/u/33895495?s=200&v=4'
+ },
+ {
+ url: 'https://github.com/AttoJS/vue-request',
+ logo: 'https://raw.githubusercontent.com/AttoJS/art/master/vue-request-logo.png'
+ },
+ {
+ url: 'https://github.com/mui-org/material-ui',
+ logo: 'https://avatars2.githubusercontent.com/u/33663932?s=200&v=4'
+ },
+];
+
+users.sort((a, b) => getName(a).localeCompare(getName(b)));
+
+// **************************************************************************
+
+let table = '';
+let row = users.length / 5;
+let lastNo = users.length % 5;
+if (lastNo != 0) row += 1;
+for (let j = 1; j <= row; j++) {
+ let data = '';
+ data = stripIndent`
+
+ ${getImg(users[(j-1)*5])} |
+ ${getImg(users[(j-1)*5+1])} |
+ ${getImg(users[(j-1)*5+2])} |
+ ${getImg(users[(j-1)*5+3])} |
+ ${getImg(users[(j-1)*5+4])} |
+
+
+ ${getName(users[(j-1)*5])} |
+ ${getName(users[(j-1)*5+1])} |
+ ${getName(users[(j-1)*5+2])} |
+ ${getName(users[(j-1)*5+3])} |
+ ${getName(users[(j-1)*5+4])} |
+
+ `;
+ table += data
+};
+
+table = `
+`;
+
+// **************************************************************************
+
+const point = '';
+const last = `
+## LICENSE
+
+[MIT](https://github.com/actions-cool/issues-helper/blob/main/LICENSE)
+`;
+
+// **************************************************************************
+
+const cn = readFileSync('./README.md', 'utf8');
+const cnIn = cn.indexOf(point);
+const cnBefore = cn.substring(0, cnIn);
+const newcn = cnBefore + table + last;
+writeFileSync('./README.md', newcn);
+console.log(`🎉 Done cn`);
+
+// **************************************************************************
+
+const en = readFileSync('./README.en-US.md', 'utf8');
+const enIn = en.indexOf(point);
+const enBefore = en.substring(0, enIn);
+const newen = enBefore + table + last;
+writeFileSync('./README.en-US.md', newen);
+console.log(`🎉 Done en`);
+
+// **************************************************************************
+
+function getImg (o) {
+ if (o) {
+ return `
`
+ }
+ return ``
+};
+
+function getName (o) {
+ if (o) {
+ return o.url.split('/').slice(-1)[0]
+ }
+ return ``
+};
+
+// **************************************************************************