thrownewError(`Config for current app (${this.appId}) was not found, please check your config file or client appId`)
thrownewError(
`Config for current app (${this.appId}) was not found, please check your config file or client appId`)
}
constplatform=this.platform
if(
(this.platform==='app'&&appConfig['app-plus'])||
(this.platform==='web'&&appConfig.h5)
){
thrownewError(`Client platform is ${this.platform}, but ${this.platform==='web'?'h5':'app-plus'} was found in config. Please refer to: https://uniapp.dcloud.net.cn/uniCloud/uni-id-summary?id=m-to-co`)
thrownewError(
`Client platform is ${this.platform}, but ${this.platform==='web'?'h5':'app-plus'} was found in config. Please refer to: https://uniapp.dcloud.net.cn/uniCloud/uni-id-summary?id=m-to-co`