test1.ts引入test2.ts文件我怎么在test1中獲取test2中某個(gè)方法的返回值如:test2是這樣:openAlbum(){const options = {quality: 100,maximumImagesCount: 6,};let _this = this;this.imagePicker.getPictures(options).then((results) => {_this.uploader.pathArrayToDataURL(results,(dataurls)=>{_this.imgArr.concat(dataurls); });}, (err) => { alert('failed') });} 現(xiàn)在我要在test1中獲取dataurls 怎么拿到
- 1 回答
- 0 關(guān)注
- 612 瀏覽
添加回答
舉報(bào)
0/150
提交
取消