['修改路由']
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class="clauseCont">
|
||||
<view class="clauseCont" v-if="loaded">
|
||||
<u-parse :html="clauseData"></u-parse>
|
||||
</view>
|
||||
</template>
|
||||
@@ -11,7 +11,8 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
clauseData: [] //服务条款
|
||||
clauseData: '' ,//服务条款,
|
||||
loaded:false
|
||||
};
|
||||
},
|
||||
onLoad(e) {
|
||||
@@ -33,6 +34,7 @@
|
||||
secretService(name).then(res => {
|
||||
this.clauseData = res.content.replace(/\<img/gi,
|
||||
'<img style="max-width:100%; height:auto; vertical-align: top;"')
|
||||
this.loaded = true
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
|
||||
Reference in New Issue
Block a user