【问题标题】:Mesosphere success/failure callback errorsMesosphere 成功/失败回调错误
【发布时间】:2013-08-25 03:57:47
【问题描述】:

我正在使用 Mesosphere 表单包和 Meteorite,但我在 onSuccess 和 onFailure 回调方面遇到了问题。

例如,我有这个:

onSuccess: function(formData) {
    console.log("validation success!");
    successCallback();
},

我得到一个错误:

Uncaught ReferenceError: successCallback is not defined 

我基本上直接从文档中获取了这个,所以我不知道我做错了什么......

https://github.com/copleykj/Mesosphere#error-management

【问题讨论】:

    标签: meteor meteorite


    【解决方案1】:

    这是一个错误。文档现在反映了如何正确完成此操作。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-06-15
      • 1970-01-01
      • 2011-04-30
      • 2021-01-18
      • 1970-01-01
      • 2013-08-27
      • 2017-01-21
      • 2023-04-04
      相关资源
      最近更新 更多