From 757ff6fd09a665227fce92fecaa155b956f0ee0d Mon Sep 17 00:00:00 2001 From: luchenqun Date: Mon, 12 Jun 2017 17:13:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=8D=E5=88=B6=E5=A4=87=E5=BF=98=E5=BD=95?= =?UTF-8?q?=E5=B0=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/scripts/controllers/note-controller.js | 2 +- public/views/note.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/scripts/controllers/note-controller.js b/public/scripts/controllers/note-controller.js index 1c1bd78..bea1a39 100644 --- a/public/scripts/controllers/note-controller.js +++ b/public/scripts/controllers/note-controller.js @@ -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 + '
已复制到您的剪切板', "提示"); }, diff --git a/public/views/note.html b/public/views/note.html index 5a7d545..469c527 100644 --- a/public/views/note.html +++ b/public/views/note.html @@ -12,7 +12,7 @@
- +