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 => {
   return axios.request({
-    url: `captcha/captcha/create/${randomCode}`,
+    url: `captcha/create/${randomCode}`,
     method: 'get',
     responseType: 'blob',
   }, true)

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

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