lilei 4 년 전
부모
커밋
40a71e32c9
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      api/user.js
  2. 1 0
      components/uni-popup/uni-popup.vue

+ 1 - 1
api/user.js

@@ -3,7 +3,7 @@ import axios from '@/libs/axios.js'
 // 获取图片验证码
 // 获取图片验证码
 export const getCaptcha = randomCode => {
 export const getCaptcha = randomCode => {
   return axios.request({
   return axios.request({
-    url: `captcha/captcha/create/${randomCode}`,
+    url: `captcha/create/${randomCode}`,
     method: 'get',
     method: 'get',
     responseType: 'blob',
     responseType: 'blob',
   }, true)
   }, true)

+ 1 - 0
components/uni-popup/uni-popup.vue

@@ -74,6 +74,7 @@
 			 */
 			 */
 			maskClick(val) {
 			maskClick(val) {
 				this.mkclick = val
 				this.mkclick = val
+				this.$emit("close")
 			}
 			}
 		},
 		},
 		data() {
 		data() {