复制备忘录小问题

This commit is contained in:
luchenqun 2017-06-12 17:13:05 +08:00
parent 50c5ececa8
commit 757ff6fd09
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ app.controller('noteCtr', ['$scope', '$state', '$stateParams', '$filter', '$wind
$scope.copy = function(content) {
var showContent = content.length >= 180 ? content.substr(0, 180) + '...' : content;
clipboard.copy(showContent).then(
clipboard.copy(content).then(
function() {
toastr.success(showContent + '<br/>已复制到您的剪切板', "提示");
},

View File

@ -12,7 +12,7 @@
<div class="ui form" ng-show="add">
<div class="required field">
<label>内容</label>
<textarea rows="4" placeholder="" ng-model="content" id="noteedit"></textarea>
<textarea rows="12" placeholder="" ng-model="content" id="noteedit"></textarea>
</div>
<div class="field">
<div class="actions">