@@ -37,14 +37,12 @@ const request = (opts, hasToken) => {
if(ret.status == '200'){
resolve(ret)
}else{
- if(ret.status == 500){
- uni.showToast({
- icon:'none',
- title: ret.message,
- mask: true,
- duration: 5000
- })
- }
+ uni.showToast({
+ icon:'none',
+ title: ret.message,
+ mask: true,
+ duration: 5000
+ })
}
@@ -103,7 +103,7 @@
},
onShow() {
// 获取订单状态数据字典
- this.getCodeList('RUBBISH_TYPE','vuex_rubbishType')
+ // this.getCodeList('RUBBISH_TYPE','vuex_rubbishType')
// 获取顶部轮播图
this.getbannerList()
// 获取经纬度
@@ -44,12 +44,10 @@
total: 0, // 数据总条数
noDataText: '暂无数据', // 列表请求状态提示语
status: 'loadmore', // 加载中状态
- rubbishType: []
this.searchHandle(1)
- this.rubbishType = this.$store.state.vuex_rubbishType
methods:{
// 搜索查询
@@ -115,8 +115,6 @@ const store = new Vuex.Store({
vuex_netStatus: '',
// 客服电话
vuex_kfMobile: '4008826012',
- // 垃圾箱类型
- vuex_rubbishType: [],
vuex_noLogin: false,
vuex_isClick: false