mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2026-04-25 19:44:29 +08:00
fix(projects): resolve width abnormal issue of NColorPicker.
This commit is contained in:
@@ -68,14 +68,15 @@ const swatches: string[] = [
|
|||||||
{{ $t('theme.appearance.themeColor.followPrimary') }}
|
{{ $t('theme.appearance.themeColor.followPrimary') }}
|
||||||
</NCheckbox>
|
</NCheckbox>
|
||||||
</template>
|
</template>
|
||||||
<NColorPicker
|
<div class="w-90px">
|
||||||
class="w-90px"
|
<NColorPicker
|
||||||
:value="themeStore.themeColors[key]"
|
:value="themeStore.themeColors[key]"
|
||||||
:disabled="key === 'info' && themeStore.isInfoFollowPrimary"
|
:disabled="key === 'info' && themeStore.isInfoFollowPrimary"
|
||||||
:show-alpha="false"
|
:show-alpha="false"
|
||||||
:swatches="swatches"
|
:swatches="swatches"
|
||||||
@update:value="handleUpdateColor($event, key)"
|
@update:value="handleUpdateColor($event, key)"
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
</SettingItem>
|
</SettingItem>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user