|
@@ -5,7 +5,6 @@ import * as cache from '@/utils/cache'
|
5
|
5
|
export default (plugins) => {
|
6
|
6
|
|
7
|
7
|
plugins.apply('readNote', (rawNote) => {
|
8
|
|
- debugger
|
9
|
8
|
const base64Data = Base64.decode(rawNote)
|
10
|
9
|
const secretKey = cache.get('encrypt_secret')
|
11
|
10
|
if (!secretKey) return base64Data;
|