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", "routes": "node site/scripts/genrateRoutes.js",
"tsc": "tsc --noEmit", "tsc": "tsc --noEmit",
"vue-tsc": "vue-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", "pub:site": "npm run site && node site/scripts/pushToOSS.js",
"prepare": "husky install", "prepare": "husky install",
"version": "node ./scripts/generate-version", "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 accessKeySecret = process.env.ALI_OSS_SECRETKEY;
const client = new OSS({ const client = new OSS({
bucket: 'next-antdv', bucket: '3x-antdv',
cname: 'true', cname: 'true',
endpoint: 'next-antdv.oss-cn-beijing.aliyuncs.com', endpoint: '3x-antdv.oss-cn-beijing.aliyuncs.com',
region: 'oss-cn-beijing', region: 'oss-cn-beijing',
accessKeyId, accessKeyId,
accessKeySecret, accessKeySecret,

View File

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