mirror of
https://github.com/TeamPGM/Web-Console.git
synced 2024-11-21 22:58:02 +00:00
fix save bug
This commit is contained in:
parent
6d854dc330
commit
40712a5a8a
@ -18,7 +18,7 @@ export default class Common {
|
||||
if (typeof data === 'string' || typeof data === 'number') {
|
||||
dataStr = data.toString()
|
||||
}
|
||||
if (dataStr) {
|
||||
if (dataStr != null) {
|
||||
localStorage.setItem('pgp-' + name, dataStr)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user