Skip to content

Commit

Permalink
feat: 持久化数据
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfred-Skyblue committed Jan 26, 2022
1 parent f05487c commit fbe9980
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/hooks/usePersistedstate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export function usePersistedstate(config: Ref<IFormConfig>) {
watch(
config.value,
() => {
console.log('456')
localStorage.setItem('$VFormDesignConfig', JSON.stringify(config.value))
},
{ deep: true }
Expand Down

0 comments on commit fbe9980

Please sign in to comment.