|
@@ -11,7 +11,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-import { Popup, Notify, Toast } from 'vant'
|
|
|
|
|
|
+import { Popup, Notify, Toast, ImagePreview } from 'vant'
|
|
import QRCode from 'qrcodejs2'
|
|
import QRCode from 'qrcodejs2'
|
|
|
|
|
|
export default {
|
|
export default {
|
|
@@ -167,10 +167,11 @@ export default {
|
|
if (!vm.strPostSrc) {
|
|
if (!vm.strPostSrc) {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- window.wx.previewImage({
|
|
|
|
- current: vm.strPostSrc,
|
|
|
|
- urls: [vm.strPostSrc]
|
|
|
|
- })
|
|
|
|
|
|
+ ImagePreview([vm.strPostSrc])
|
|
|
|
+ // window.wx.previewImage({
|
|
|
|
+ // current: vm.strPostSrc,
|
|
|
|
+ // urls: [vm.strPostSrc]
|
|
|
|
+ // })
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|