fix: 修改历史记录的最大值的设定位置

This commit is contained in:
奔跑的面条
2022-04-11 17:06:41 +08:00
parent 991b134e23
commit ee9a93b353
4 changed files with 9 additions and 4 deletions
@@ -25,7 +25,7 @@
<help-outline-icon></help-outline-icon>
</n-icon>
</template>
<span>最多只保留 20 条记录</span>
<span>最多只保留{{ editHistoryMax }}条记录</span>
</n-tooltip>
</div>
</template>
@@ -37,6 +37,7 @@ import { renderIcon } from '@/utils'
import { useChartHistoryStore } from '@/store/modules/chartHistoryStore/chartHistoryStore'
import { historyActionTypeName } from '@/store/modules/chartHistoryStore/chartHistoryDefine'
import { CreateComponentType } from '@/packages/index.d'
import { editHistoryMax } from '@/settings/designSetting'
import {
HistoryItemType,
HistoryTargetTypeEnum,