dataease-dm/frontend/src/components/canvas/store/lock.js

12 lines
179 B
JavaScript
Raw Normal View History

2021-03-25 19:16:32 +08:00
export default {
2021-06-24 13:54:58 +08:00
mutations: {
lock({ curComponent }) {
curComponent.isLock = true
2021-03-25 19:16:32 +08:00
},
2021-06-24 13:54:58 +08:00
unlock({ curComponent }) {
curComponent.isLock = false
}
}
}