1. <button @click="test()">调用相册</button>
    2. <image v-bind:src="img"></image>
    1. test() {
    2. var that = this
    3. uni.chooseImage({
    4. sourceType: ['album'], //从相册选择
    5. success(res) {
    6. console.log(res.tempFiles[0].path);
    7. that.$data.img = res.tempFiles[0].path
    8. }
    9. })
    10. }

    效果图
    image.png