bug
This commit is contained in:
		@@ -87,7 +87,7 @@
 | 
			
		||||
      onChooseAvatar (e) {
 | 
			
		||||
        this.$loading()
 | 
			
		||||
        uni.uploadFile({
 | 
			
		||||
          url: this.$instance.defaults.baseURL + '/file/add',
 | 
			
		||||
          url: this.$instance.defaults.baseURL + (process.env.NODE_ENV == 'production' ? 'api' : '') + '/file/add',
 | 
			
		||||
          filePath: e.detail.avatarUrl,
 | 
			
		||||
          name: 'file',
 | 
			
		||||
          header: {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user