|
|
@@ -71,6 +71,7 @@ import tools from "@/service/tools";
|
|
|
import LoginAgreement from "@/pages/login/model/loginAgreement";
|
|
|
import EnPopup from "@/components/en-utils/en-popup/en-popup";
|
|
|
import {register} from "@/api/login";
|
|
|
+import txUploadFile from "@/service/txOssSts";
|
|
|
export default {
|
|
|
components: {EnPopup, LoginAgreement, EnNav},
|
|
|
data() {
|
|
|
@@ -95,6 +96,12 @@ export default {
|
|
|
sourceType: ['album'], //从相册选择
|
|
|
success: (res) =>{
|
|
|
if(res.tempFilePaths.length>0){
|
|
|
+ console.log(res.tempFilePaths)
|
|
|
+ res.tempFilePaths.forEach((item,key)=>{
|
|
|
+ txUploadFile(item,'gallery').then((res)=>{
|
|
|
+ console.log(res)
|
|
|
+ })
|
|
|
+ })
|
|
|
this.imgBg=res.tempFilePaths[0]
|
|
|
this.imgList=res.tempFilePaths
|
|
|
this.isOK=true
|