小程序
  • 小程序
  • 小游戏
  • 小商店
  • 公众号
  • 智能对话
  • 开放平台
  • 企业微信
  • 微信支付
  • 腾讯小微
开发
介绍
设计
运营
数据
社区
  • 中文
  • EN
取消
    查看更多
    在小程序下暂无结果,查看其它业务相关内容 >
    • 指南
    • 框架
    • 组件
    • API
    • 平台能力
    • 服务端
    • 工具
    • 云开发
    • 云托管
    • 更新日志
    开发
    开发
    介绍
    设计
    运营
    数据
    社区
    • 中文
    • EN
    中文
    EN
    取消
  • 框架
    • 小程序配置
      • 全局配置
      • 页面配置
      • sitemap 配置
    • 场景值
    • 框架接口
      • 小程序 App
        • App
        • getApp
      • 页面
        • Page
        • getCurrentPages
        • Router
      • 自定义组件
        • Component
        • Behavior
      • 模块化
        • require
        • module
        • exports
        • requirePlugin
        • requireMiniProgram
      • 基础功能
        • console
          • console.debug
          • console.error
          • console.group
          • console.groupEnd
          • console.info
          • console.log
          • console.warn
        • 定时器
          • setTimeout
          • clearTimeout
          • setInterval
          • clearInterval
    • WXML 语法参考
      • 介绍
      • 数据绑定
      • 列表渲染
      • 条件渲染
      • 模板
      • 引用
    • WXS 语法参考
      • 介绍
      • 模块
      • 变量
      • 注释
      • 运算符
      • 语句
      • 数据类型
      • 基础类库

    # console.warn()

    向调试面板中打印 warn 日志

    # 参数

    # any ...args

    日志内容,可以有任意多个。

    The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.
    • 关于腾讯
    • 文档中心
    • 辟谣中心
    • 客服中心
    • 联系邮箱

    Copyright © 2012-2022 Tencent. All Rights Reserved.

    在线咨询
    反馈