显示小更新
This commit is contained in:
parent
4f1cb8e208
commit
d38e1f9de2
|
|
@ -235,6 +235,9 @@ app.controller('noteCtr', ['$scope', '$state', '$stateParams', '$filter', '$wind
|
||||||
}
|
}
|
||||||
}, 100)
|
}, 100)
|
||||||
$scope.loadBusy = false;
|
$scope.loadBusy = false;
|
||||||
|
if ($scope.totalItems == 0) {
|
||||||
|
$(".js-note").removeClass("hidden");
|
||||||
|
}
|
||||||
transition();
|
transition();
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="ui info message js-note" ng-if="(!add) && notes.length == 0" >
|
<div class="ui hidden info message js-note" ng-if="(!add) && notes.length == 0" >
|
||||||
<i class="close icon" ng-click="closeNote()"></i>
|
<i class="close icon" ng-click="closeNote()"></i>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="header">系统检测到您好像还没添加过备忘录哦!
|
<div class="header">系统检测到您好像还没添加过备忘录哦!
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue