mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 11:54:00 +08:00
perf: optimized page switching effect
This commit is contained in:
@@ -262,7 +262,7 @@ export default defineComponent({
|
||||
size="small"
|
||||
min={0}
|
||||
onChange={(e) => {
|
||||
baseHandler('menuWidth', e);
|
||||
baseHandler('lockTime', e);
|
||||
}}
|
||||
defaultValue={appStore.getProjectConfig.lockTime}
|
||||
formatter={(value: string) => {
|
||||
@@ -448,7 +448,7 @@ export default defineComponent({
|
||||
},
|
||||
};
|
||||
}
|
||||
if (event === 'menuWidth') {
|
||||
if (event === 'lockTime') {
|
||||
config = {
|
||||
lockTime: value,
|
||||
};
|
||||
|
Reference in New Issue
Block a user