export function openExternal(url) {
  if (!url) return
  // #ifdef H5
  window.open(url)
  return
  // #endif
  // #ifdef APP-PLUS
  plus.runtime.openURL(url)
  return
  // #endif
  uni.setClipboardData({
    data: url,
    success: () => uni.showToast({ title: '链接已复制', icon: 'none' })
  })
}
