You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

39 lines
713 B

<template>
<view>
<uni-nav-bar shadow title="查看失败原因" left-icon="left" @clickLeft="back" backgroundColor="#000" color="#fff" />
<view class="center">{{content}}</view>
</view>
</template>
<script>
import API from '@/common/js/api.js'
export default {
data() {
return {
content:''
}
},
onLoad(option) { //option为object类型,会序列化上个页面传递的参数
if(option.id){
let data = {
id:option.id
}
API.getErrorInfo(data, res => {
this.content = res.data.content
// console.log(res);
})
}
},
methods: {
}
}
</script>
<style scoped>
.center{
text-align: center;
margin-top: 100rpx;
padding: 0px 100rpx;
}
</style>