我在我的项目中使用ngSweetAlert。 除了当我添加showCancelButton: true属性时,它完美的工作。 事实上,例如: SweetAlert.swal({
title: "Are you sure?",
text: "Your will not be able to recover this imaginary file!",
type: "wa
我想创建一个YT.Player对象,但失败。当我console.log()YT.Player对象,我没有看到相关的预期功能,如cuePlaylist()或getDuration()。该代码适用于本地和开发环境,但在我的QA环境中失败。有谁知道为什么会发生这种情况? 通过我的调试,我成功地提取了Youtube Video ID(我有console.log),并在创建YT.Player对象时将它作为参