进入签订协议的页面立即加载协议
This commit is contained in:
parent
b68be4a41b
commit
3db05d2007
|
|
@ -78,6 +78,9 @@
|
|||
import { tempUrlToRealUrl } from '../../utils/tempUrl-to-realUrl'
|
||||
|
||||
export default {
|
||||
onLoad() {
|
||||
this.openProtocol()
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
tempUrl: '',
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<view @click="open()">123</view>
|
||||
<view @click="openProtocol()">123</view>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
|
|
@ -7,7 +7,7 @@ export default {
|
|||
return {}
|
||||
},
|
||||
methods: {
|
||||
open() {
|
||||
openProtocol() {
|
||||
uni.downloadFile({
|
||||
url: 'https://api.ccttiot.com/安装协议(准备好)-1757570264575.pdf',
|
||||
success: function (res) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user