peng
2025-10-16 fe90a52e90e41e6916988c50caa3c63540d588d3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
const Note = {
  state: {
    tags: [],
    class: [],
  },
  getters: {},
  mutations: {
    SET_NOTE_TAGS(state, tags) {
      state.tags = tags
    },
 
    PUSH_NOTE_TAG(state, tag) {
      state.tags.unshift(tag)
    },
  },
}
 
export default Note