Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
deot committed Jan 14, 2020
1 parent 64d6446 commit e86d2b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default {
let data;
if (__DEV__) {
if (!__DEV__) {
try {
data = (await this.$global.db.read(url) || {}).data;
} catch (e) {
Expand All @@ -99,7 +99,7 @@ export default {
}).then((res) => {
this.content = res.data;
__DEV__ && res.data !== errorMsg && this.$global.db.update({
!__DEV__ && res.data !== errorMsg && this.$global.db.update({
__id: url,
data: res,
});
Expand Down

0 comments on commit e86d2b8

Please sign in to comment.