把大部分的 n-space 替换成 n-flex
This commit is contained in:
1 parent
c84d103418
commit
9a775d523a
31 files changed
+155
-163
No files matched your search
@@ -32,7 +32,7 @@ const options: DropdownOption[] = [
|
||||
</script>
|
||||
<template>
|
||||
<div v-if="contestMenuVisible">
|
||||
<n-space v-if="isDesktop">
|
||||
<n-flex v-if="isDesktop">
|
||||
<n-button :type="getCurrentType('problems')" @click="goto('problems')">
|
||||
比赛题目
|
||||
</n-button>
|
||||
@@ -45,7 +45,7 @@ const options: DropdownOption[] = [
|
||||
<n-button :type="getCurrentType('rank')" @click="goto('rank')">
|
||||
比赛排名
|
||||
</n-button>
|
||||
</n-space>
|
||||
</n-flex>
|
||||
<n-dropdown v-else :options="options" @select="goto">
|
||||
<n-button>菜单</n-button>
|
||||
</n-dropdown>
|
||||
|
||||
Reference in new issue
Block a user