guoyu/fronted_uniapp/store/index.js
2025-12-03 18:58:36 +08:00

18 lines
302 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { createStore } from 'vuex'
import auth from './modules/auth.js'
import course from './modules/course.js'
/**
* Vuex状态管理
* 注意UniApp中使用Vuex需要确保版本兼容
*/
const store = createStore({
modules: {
auth,
course
}
})
export default store