diff --git a/src/views/xpack/Vault/VaultList.vue b/src/views/xpack/Vault/VaultList.vue index 684bf447f..39a7d0c51 100644 --- a/src/views/xpack/Vault/VaultList.vue +++ b/src/views/xpack/Vault/VaultList.vue @@ -30,7 +30,7 @@ - + {{ this.$t('common.Create') }} @@ -178,7 +178,7 @@ export default { methods: { performUpdate(item) { this.$axios.put( - this.upLoadUrl, + `/api/v1/assets/asset-users/`, item.file, { headers: { 'Content-Type': 'text/csv' }, disableFlashErrorMsg: true } ).then((data) => { @@ -190,7 +190,7 @@ export default { }, performCreate(item) { this.$axios.post( - this.upLoadUrl, + `/api/v1/assets/asset-users/`, item.file, { headers: { 'Content-Type': 'text/csv' }, disableFlashErrorMsg: true } ).then((data) => {