1 代码如下
<uni-collapse accordion="true" >
<block v-for="(work,index2) in sys.WorkTypes" :key="index2">
<uni-collapse-item :title="work.WorkTypeName">
<view class="work-content">
<view class="work-content-item" v-for="job in work.Jobs" :key="job.Id">
<view class="header">
<view class="name">{{job.UserName}}</view>
<view class="action">
<view class="icon">
<uni-icon type="compose" size="18" @click="$goto('site/site-manage/create', 'siteId='+siteId+'&id='+job.JobRecordId+'&type='+type)"></uni-icon>
</view>
<view class="icon">
<uni-icon type="trash" size="18" @click="removeWorkRecord(job)"></uni-icon>
</view>
</view>
</view>
<view class="body">
<view class="detail-item">
<view class="label">时间</view>
<view class="value">{{job.StartTime}} ~ {{job.EndTime}}</view>
</view>
<view class="detail-item">
<view class="label">周期</view>
<view class="value">{{job.FrequencyTpName}}</view>
</view>
<view class="detail-item">
<view class="label">频次</view>
<view class="value">{{job.Frequency}}</view>
</view>
<view class="detail-item">
<view class="label">星期</view>
<view class="value weeks">
<view class="week" v-for="week in job.Weeks" :key="week.Id">{{week.WeekName}}</view>
</view>
</view>
</view>
</view>
</view>
</uni-collapse-item>
</block>
</uni-collapse>
2 环境
1.9.5.20190505-alpha
3 配置 片段
"app-plus" : {
"usingComponents": true,
"mp-weixin" : {
/ 小程序特有相关 /
"appid" : "",
"setting" : {
"urlCheck" : true
},
"usingComponents":true
},
4 错误信息
5 已经尝试删除过\unpackage 目录 项目是老版本编译器建的