2017-02-02 05:52:00 +00:00
|
|
|
import * as types from './actionTypes';
|
|
|
|
|
|
|
|
export function updatevalue(form, index, value) {
|
|
|
|
return {
|
|
|
|
type: types.UPDATEVALUE,
|
|
|
|
form,
|
|
|
|
index,
|
|
|
|
value,
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
export function updatemult(form, index, mult) {
|
|
|
|
return {
|
|
|
|
type: types.UPDATEMULT,
|
|
|
|
form,
|
|
|
|
index,
|
|
|
|
mult,
|
|
|
|
};
|
|
|
|
}
|
2017-02-03 07:41:30 +00:00
|
|
|
|
|
|
|
export function clearall() {
|
|
|
|
return {
|
|
|
|
type: types.CLEARALL,
|
|
|
|
};
|
|
|
|
}
|