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