通讯录组件问题,为方便定位,请按以下模板提供详细要素:
问题描述:ww-open-data组件在 vue3 配合 vite 打包之后process为什么未定义?
config参数list:
{"config":{"corpid":"wwf83b477b023de641","agentid":"1000085","timestamp":"1615281812","nonceStr":"lr5RZogWds","signature":"e0bcb2a067da7405553b72441ed375d6f4ab19d7","jsApiList":["selectEnterpriseContact","openUserProfile","selectExternalContact","getCurExternalContact","getCurExternalChat","sendChatMessage","getContext","openEnterpriseChat","onMenuShareAppMessage","onMenuShareWechat","onMenuShareTimeline","shareAppMessage","shareWechatMessage","shareToExternalContact","shareToExternalChat","onHistoryBack","hideOptionMenu","showOptionMenu","hideMenuItems","showMenuItems","hideAllNonBaseMenuItem","showAllNonBaseMenuItem","closeWindow","openDefaultBrowser","onUserCaptureScreen","scanQRCode","chooseInvoice","enterpriseVerify","chooseImage","previewImage","uploadImage","downloadImage","getLocalImgData","startRecord","stopRecord","onVoiceRecordEnd","playVoice","pauseVoice","stopVoice","onVoicePlayEnd","uploadVoice","downloadVoice","translateVoice","previewFile","startWifi","stopWifi","connectWifi","getWifiList","onGetWifiList","onWifiConnected","getConnectedWifi","openBluetoothAdapter","closeBluetoothAdapter","getBluetoothAdapterState","onBluetoothAdapterStateChange","startBluetoothDevicesDiscovery","stopBluetoothDevicesDiscovery","getBluetoothDevices","onBluetoothDeviceFound","getConnectedBluetoothDevices","createBLEConnection","closeBLEConnection","onBLEConnectionStateChange","getBLEDeviceServices","getBLEDeviceCharacteristics","readBLECharacteristicValue","writeBLECharacteristicValue","notifyBLECharacteristicValueChange","onBLECharacteristicValueChange","startBeaconDiscovery","stopBeaconDiscovery","getBeacons","onBeaconUpdate","onBeaconServiceChange","setClipboardData","getNetworkType","onNetworkStatusChange","openLocation","getLocation","startAutoLBS","stopAutoLBS","onLocationChange"],"url":"http://center.dev.emplusys.com:8000/operate/contact"},"sid":"+vR4ora0Io59+3FlZbaDaeZydSX/QMsQ15srTLlXpH3KtlPV4KKQfgv10wW/kSRXKvBOapd8YyBAIwOCz6hjX5lD/JHIZ/ho6klwlZEjlbM1XpajaFbI0wFQETA5Ln9A3B5g6Tvqkx/oVayY/Bn2Dg=="}
测试者手机号:电脑设备
调用接口:https://open.work.weixin.qq.com/wwopen/openData/agentConfig?f=json
出现问题时间点(具体到月日时分):2021-03-09 17:25
平台(微信、企业微信、外部浏览器 & 什么系统):外部浏览器,mac 版谷歌
域名:http://center.dev.emplusys.com:8000
提供对应的值即(若 type=userName,此时 openid 对应 userid ;若 type=departmentName,此时 openid 对应 departmentid):
具体表现(对象不存在、调用报错、没反应)的截图:
你好,排查了下是我们构建的流程,只影响opendata 在 iframe 模式下运行,待会会上线修复,晚点可以重试下看下