Update noet-controller.js
This commit is contained in:
parent
b10d36f06f
commit
529787a90d
|
|
@ -192,6 +192,7 @@ app.controller('noteCtr', ['$scope', '$state', '$stateParams', '$filter', '$wind
|
||||||
$scope.updateNote = function () {
|
$scope.updateNote = function () {
|
||||||
if(!$scope.content) {
|
if(!$scope.content) {
|
||||||
toastr.error('更新失败,更新内容不能为空', "提示");
|
toastr.error('更新失败,更新内容不能为空', "提示");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
var tagName = '';
|
var tagName = '';
|
||||||
$scope.tags.forEach((tag) => {
|
$scope.tags.forEach((tag) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue