我的闪存信息代码在下面
<div class="flash-message" ng-if="flash">
<div class="{{'alert alert-' + flash.type}}" ng-bind="flash.message">
</div>
现在我在用
FlashService.Success('You have blocked this User');我想使我的上述信息动态,我已经通过了静态的现在。
我的节点api现在正在返回此消息。
{
"data": {
"status": "1",
"msg": "You have blocked the user"
}
}发布于 2018-05-15 07:17:53
在函数回调中传递结果。
{
"data": {
"status": "1",
"msg": "You have blocked the user"
}
}放入下面的代码,使闪存消息动态。
FlashService.Success(result.data.msg);https://stackoverflow.com/questions/50344334
复制相似问题