perf: 框架核心代码国际化全量覆盖(仅需处理业务代码国际化即可) (#1082)

This commit is contained in:
xiaoming
2024-04-17 15:41:37 +08:00
committed by GitHub
parent d1d2bcaa11
commit a402d33b89
28 changed files with 254 additions and 99 deletions

View File

@@ -42,6 +42,11 @@ const props = {
disabled: {
type: Boolean,
default: false
},
/** 当内容发生变化时,设置 `resize` 可使其自适应容器位置 */
resize: {
type: Boolean,
default: false
}
};
@@ -108,7 +113,7 @@ export default defineComponent({
});
}
props.block && handleResizeInit();
(props.block || props.resize) && handleResizeInit();
watch(
() => curIndex.value,