File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,12 @@ async function initItem(item: InitialCate) {
3939
4040export default class CateInitializer implements Migrator {
4141 async onInstall ( ) : Promise < void > {
42- DEMO_ITEMS . forEach ( initItem )
42+ for ( const item of DEMO_ITEMS ) {
43+ await initItem ( item )
44+ }
4345 }
4446
4547 onUpdate ( version : string ) : void {
46- version === '3.0.0 ' && this . onInstall ( )
48+ version === '3.0.1 ' && this . onInstall ( )
4749 }
4850}
Original file line number Diff line number Diff line change 11import { useRequest } from "@hooks/useRequest"
2+ import { jump2Report } from "@popup/common"
23import { usePopupContext } from "@popup/context"
34import { ElCol , ElRow , ElScrollbar } from "element-plus"
45import { defineComponent } from "vue"
56import Item from "./Item"
67import { doQuery } from "./query"
7- import { jump2Report } from "@popup/common"
88
99const Ranking = defineComponent ( ( ) => {
1010 const { query } = usePopupContext ( )
@@ -18,7 +18,7 @@ const Ranking = defineComponent(() => {
1818 }
1919
2020 return ( ) => (
21- < ElScrollbar noresize >
21+ < ElScrollbar noresize style = { { width : '100%' } } >
2222 < ElRow gutter = { 10 } style = { { rowGap : '10px' } } >
2323 { result . value ?. rows ?. map ( row => (
2424 < ElCol span = { 24 / 3 } >
You can’t perform that action at this time.
0 commit comments