fix: 修复pinia中defineStore第一个参数重复的缺陷

This commit is contained in:
teukkk 2024-07-16 17:22:05 +08:00 committed by Craftsman
parent 673a1a1e23
commit 676f3ce4eb
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import { cloneDeep } from 'lodash-es';
import type { RequestCompositionState } from './types';
// 用于记录请求组合的临时插件表单数据
const useRequestCompositionStore = defineStore('visit', {
const useRequestCompositionStore = defineStore('pluginForm', {
state: (): RequestCompositionState => ({
temporaryPluginFormMap: {},
}),