In TodoDispatcher.js, a TypeError: TodoDispatcher.regeist is not a function error occurs. How to solve it?
阿黎
阿黎 2019-11-27 11:31:13
0
0
1363

import {Dispatcher} from 'flux';//引用storeimport Store from '../stores/TodoStore';const TodoDispatcher=new Dispatcher();TodoDispatcher.regeist(function(action){    switch (action.actionType) {        case "ADD_TODO":            Store.addTodoData(action.payload);            Store.emitChange();            //�%

阿黎
阿黎

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template