This commit is contained in:
rca 2024-07-21 22:35:13 +09:00
parent d44938546f
commit 13b48f11bb

View File

@ -3,8 +3,8 @@ import { RootStateInterface } from '../index';
import { CacheStateInterface } from './state';
const actions: ActionTree<CacheStateInterface, RootStateInterface> = {
someAction (/* context */) {
// your code
clearCache(context) {
context.commit('setTasks', []);
}
};