提交 bed810b1 authored 作者: 劳广强's avatar 劳广强

fix: 修复 上报类型 标题

上级 f0c33b96
<template>
<view>
<view class="wrapper">
<view class="title">交通违法举报</view>
<view class="title">{{ title }}</view>
<u-grid style="padding: 0 30rpx">
<u-grid-item v-for="(item, index) in list" :key="item.id" @click="onListClick(item, index)">
......@@ -34,6 +34,7 @@ export default {
return {
query: {},
list: [],
title: '',
content: '',
showReport: false,
......@@ -66,6 +67,7 @@ export default {
async fetchPhotoTaskTypeDetail() {
const { detail } = await uni.$u.http.get('/api/app/phototasktype/detail', { params: { id: this.query.id } });
this.title = detail.name;
this.content = detail.desc;
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论