董国庆
2025-03-18 f1dccb517058f594926d3e523ba5a2cf174346b4
Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/H5/threeSide
3个文件已修改
12 ■■■■■ 已修改文件
H5/pages/authentication/authentication.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/index/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/utils/request.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/authentication/authentication.vue
@@ -261,12 +261,11 @@
                    this.form.avatar = this.imgUrls[0];
                    if (this.detail) {
                        await edit(this.form);
                        this.loading = false;
                    } else {
                        await apply(this.form);
                        this.loading = false;
                    }
                    this.$refs.savePop.showPopup();
                    this.loading = false;
                } catch (error) {
                    uni.showToast({
                        title: '提交失败,请重试',
H5/pages/index/index.vue
@@ -86,13 +86,13 @@
                <view class="flex a-center">
                    <view class="msg mr-19" @click="changeActive(1)" :class="isactive == 1 ? 'active' : ''">
                        消息
                        <view class="tips">
                        <view v-if="noreadlist.length > 0" class="tips">
                            {{ noreadlist.length }}
                        </view>
                    </view>
                    <view class="representative" @click="changeActive(2)" :class="isactive == 2 ? 'active' : ''">
                        待办
                        <view class="tips">
                        <view v-if="noreadlists.length > 0" class="tips">
                            {{ noreadlists.length }}
                        </view>
                    </view>
H5/utils/request.js
@@ -19,9 +19,8 @@
    return new Promise(function(resolve, reject) {
        let token = uni.getStorageSync('token')
        token =
            'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOjE2MjAzLCJ0eXBlIjoxLCJleHAiOjE3NDM1NTY3NTAsImNyZWF0ZWQiOjE3NDIyNjA3NTA2NTV9.YeZ0Bh4gbS0gFddM3NhpiCLJARF6tzeIEAjoGvDhMusFpH1CM6MWnDMtS2iVkmbF0aCrij4N5Ub9HlUqwReASw'
        uni.setStorageSync('token', token)
        token = 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOjE2MjAxLCJ0eXBlIjoxLCJleHAiOjE3NDM1NTY2NzYsImNyZWF0ZWQiOjE3NDIyNjA2NzY0MTJ9.GWvz0-m7-R6mz-gEICWywIV_lhc5vKU0_KUJN4MxxY8qa8_1Q_n-tzPSDltiu8cwAEBbsn8QZ4N4MHwzukDzIA'
        uni.setStorageSync('token',token)
        let header = {
            'content-type': type ? 'application/x-www-form-urlencoded;charset=UTF-8' : 'application/json',
            'Authorization': token,