docs: update

pull/6800/head
tangjinzhou 2023-06-15 16:19:43 +08:00
parent 8212237045
commit c920923a72
3 changed files with 3 additions and 4 deletions

View File

@ -56,7 +56,7 @@
"routes": "node site/scripts/genrateRoutes.js",
"tsc": "tsc --noEmit",
"vue-tsc": "vue-tsc --noEmit",
"site": "npm run routes && ./node_modules/vite/bin/vite.js build site --base=https://www.antdv.com/",
"site": "npm run routes && ./node_modules/vite/bin/vite.js build site --base=https://3x.antdv.com/",
"pub:site": "npm run site && node site/scripts/pushToOSS.js",
"prepare": "husky install",
"version": "node ./scripts/generate-version",

View File

@ -8,9 +8,9 @@ const accessKeyId = process.env.ALI_OSS_ACCESSKEY;
const accessKeySecret = process.env.ALI_OSS_SECRETKEY;
const client = new OSS({
bucket: 'next-antdv',
bucket: '3x-antdv',
cname: 'true',
endpoint: 'next-antdv.oss-cn-beijing.aliyuncs.com',
endpoint: '3x-antdv.oss-cn-beijing.aliyuncs.com',
region: 'oss-cn-beijing',
accessKeyId,
accessKeySecret,

View File

@ -12,7 +12,6 @@
:default-value="antdVersion"
>
<a-select-option :value="antdVersion">{{ antdVersion }}</a-select-option>
<a-select-option value="next" @click="changeVersion('next')">4.x (Next)</a-select-option>
<a-select-option value="2.x" @click="changeVersion('2x')">
2.x (Not Recommended)
</a-select-option>