fix: 修复前端部分拼写错误

1.分析页示例:font-size: 14 => font-size: 14px (https://github.com/arco-design/arco-design-pro-vue/pull/322)
2.Chat 组件:options => option (https://github.com/arco-design/arco-design-pro-vue/pull/296)
3.tab-bar:useAppStore => useTabBarStore (https://github.com/arco-design/arco-design-pro-vue/pull/272)
This commit is contained in:
Charles7c 2023-09-04 22:52:55 +08:00
parent 32904b54ef
commit 62021f8fdc
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<VCharts <VCharts
v-if="renderChart" v-if="renderChart"
:option="options" :option="option"
:autoresize="autoResize" :autoresize="autoResize"
:style="{ width, height }" :style="{ width, height }"
/> />
@ -13,7 +13,7 @@
// import { useAppStore } from '@/store'; // import { useAppStore } from '@/store';
defineProps({ defineProps({
options: { option: {
type: Object, type: Object,
default() { default() {
return {}; return {};

View File

@ -21,7 +21,7 @@ const formatTag = (route: RouteLocationNormalized): TagProps => {
const BAN_LIST = [REDIRECT_ROUTE_NAME]; const BAN_LIST = [REDIRECT_ROUTE_NAME];
const useAppStore = defineStore('tabBar', { const useTabBarStore = defineStore('tabBar', {
state: (): TabBarState => ({ state: (): TabBarState => ({
cacheTabList: new Set([DEFAULT_ROUTE_NAME]), cacheTabList: new Set([DEFAULT_ROUTE_NAME]),
tagList: [DEFAULT_ROUTE], tagList: [DEFAULT_ROUTE],
@ -71,4 +71,4 @@ const useAppStore = defineStore('tabBar', {
}, },
}); });
export default useAppStore; export default useTabBarStore;

View File

@ -56,7 +56,7 @@
.title-fix { .title-fix {
margin: 0 0 12px 0; margin: 0 0 12px 0;
font-size: 14; font-size: 14px;
} }
:deep(.section-title) { :deep(.section-title) {
margin: 0 0 12px 0; margin: 0 0 12px 0;