diff --git a/src/components/Vant.vue b/src/components/Vant.vue index 20c69c1..ff28861 100644 --- a/src/components/Vant.vue +++ b/src/components/Vant.vue @@ -148,8 +148,8 @@ export default { formLayout: 'vertical', form: this.$form.createForm(this), versionApi: { - repositoryVersion: 'https://registry.npm.taobao.org/vant', - vueVersion: 'https://registry.npm.taobao.org/vue' + repositoryVersion: 'https://registry.npmmirror.com/vant', + vueVersion: 'https://registry.npmmirror.com/vue' }, vantVersions: [], initVantVersion: '', diff --git a/src/components/VantWeapp.vue b/src/components/VantWeapp.vue index dc9f986..40c0850 100644 --- a/src/components/VantWeapp.vue +++ b/src/components/VantWeapp.vue @@ -161,8 +161,8 @@ export default { formLayout: 'vertical', form: this.$form.createForm(this), versionApi: { - repositoryVersion: 'https://registry.npm.taobao.org/vant-weapp', - vantWeappVersion: 'https://registry.npm.taobao.org/@vant/weapp' + repositoryVersion: 'https://registry.npmmirror.com/vant-weapp', + vantWeappVersion: 'https://registry.npmmirror.com/@vant/weapp' }, weappVersions: [], initWeappVersion: ''