开发和生产环境

  if (process.env.NODE_ENV === 'development') {
    CkloginFn = {
      openid: '135434',
      token: 'asdasdasd'
    }
  } else if (process.env.NODE_ENV === 'production') {
    CkloginFn = Cklogin()
  }

随机浏览