x***@outlook.com
x***@outlook.com
  • 发布:2023-06-05 21:47
  • 更新:2023-08-04 16:53
  • 阅读:231

【报Bug】uni-push2.0-admin的pages页面extra的问题

分类:uni-app

产品分类: uniapp/H5

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win7

HBuilderX类型: 正式

HBuilderX版本号: 3.8.4

浏览器平台: Chrome

浏览器版本: 109.0.5414.120(正式版本) (64 位)

项目创建方式: HBuilderX

操作步骤:

每次点击都出现

预期结果:

每次点击都出现

实际结果:

每次点击都出现

bug描述:

<template>  
    <view>  
        <uni-data-select collection="opendb-app-list" field="appid as value, name as text" orderby="text asc"  
            :defItem="1" label="应用选择" v-model="appId" :clear="false" />  
        <iframe :src="url"></iframe>  
    </view>  
</template>  

<script>  
    export default {  
        data() {  
            return {  
                url:"",  
                appId:""  
            }  
        },  
        watch: {  
            appId:{  
                async handler(appId){  
                    if(appId){  
                        const UniPush = uniCloud.importObject("uni-push-co")  
                        let res = await UniPush.getAdminUrl(appId)  
                        console.log(res.data+'#/statistics/351843721360372/pushStatistics?mode=uni-admin');  
                        this.url = res.data+'#/statistics/351843721360372/pushStatistics?mode=uni-admin'  
                    }else{  
                        uni.showToast({  
                            title: '请先选择一个应用',  
                            icon: 'none'  
                        });  
                    }  

                },  
                immediate:true  
            }  
        }  
    }  
</script>

uni-push-admin的pages页面extra的报两个错误:
1:在uni-admin后台打开的时候点击“推送管理”-“其他功能”进入到这个extra页面提示:The data property "url" is already declared as a prop. Use prop default value instead.
2:在uni-admin后台打开的时候点击“推送管理”-“其他功能”进入到这个extra页面,弹窗提示:Invild param

2023-06-05 21:47 负责人:DCloud_云服务_JRP 分享
已邀请:
灳灳

灳灳

同样的问题,问了个推,说不是个推的问题。。
我的情况是之前操作了应用转让

哩哩啦啦

哩哩啦啦

都好几个星期了 服了 这个问题就没几个人遇到吗

  • DCloud_云服务_JRP

    你的应用转让过吗,如果转让过,appid 私信发我下

    2023-08-07 18:04

哩哩啦啦

哩哩啦啦

楼主解决了吗

8***@qq.com

8***@qq.com

8月了 还是没有解决

要回复问题请先登录注册