6.18
This commit is contained in:
@@ -112,6 +112,11 @@
|
||||
console.log('success');
|
||||
}
|
||||
});
|
||||
// 存储接口请求所需token
|
||||
uni.setStorage({
|
||||
key: 'token',
|
||||
data: res.data.data.token,
|
||||
});
|
||||
// 注册返回参数
|
||||
this.$refs.uToast.show({
|
||||
title: res.message,
|
||||
@@ -265,6 +270,7 @@
|
||||
}
|
||||
|
||||
.labales {
|
||||
color: #FFF;
|
||||
border-bottom: 1px #fff solid;
|
||||
margin-bottom: 90rpx;
|
||||
height: 70rpx;
|
||||
|
||||
@@ -96,11 +96,11 @@
|
||||
}
|
||||
});
|
||||
// 注册返回参数
|
||||
this.$refs.uToast.show({
|
||||
title: res.message,
|
||||
type: 'success',
|
||||
url: '/pageA/topick/topick'
|
||||
})
|
||||
// this.$refs.uToast.show({
|
||||
// title: res.message,
|
||||
// type: 'success',
|
||||
// url: '/pageA/topick/topick'
|
||||
// })
|
||||
}
|
||||
if(res.errCode == 1){
|
||||
this.$refs.uToast.show({
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<view :class="{'cur': rSelect.indexOf(index)!=-1}" v-for="(item,index) in tab_lables" :key="index" @click="tapClick(index)">{{item}}</view>
|
||||
</view>
|
||||
<!-- 提交按钮 -->
|
||||
<view class="submites">{{submites}}</view>
|
||||
<view class="submites" @click="toHomePage">{{submites}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -54,6 +54,11 @@
|
||||
} else {
|
||||
this.rSelect.splice(this.rSelect.indexOf(index), 1); //取消
|
||||
}
|
||||
},
|
||||
toHomePage() {
|
||||
uni.switchTab({
|
||||
url: '/pages/index/index'
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user