mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-11-27 04:09:51 +08:00
Merge pull request #5805 from jahnli/fix-split-example
feat:(n-split): add min max value for the example
This commit is contained in:
commit
046ee39941
@ -4,7 +4,13 @@
|
||||
|
||||
<template>
|
||||
<n-flex vertical>
|
||||
<n-input-number v-model:value="split" :step="0.1" clearable />
|
||||
<n-input-number
|
||||
v-model:value="split"
|
||||
:step="0.1"
|
||||
clearable
|
||||
:max="1"
|
||||
:min="0"
|
||||
/>
|
||||
<NSplit v-model:size="split" style="height: 200px">
|
||||
<template #1>
|
||||
<div style="width: 100%; background-color: black" />
|
||||
|
@ -4,7 +4,13 @@
|
||||
|
||||
<template>
|
||||
<n-flex vertical>
|
||||
<n-input-number v-model:value="split" :step="0.1" clearable />
|
||||
<n-input-number
|
||||
v-model:value="split"
|
||||
:step="0.1"
|
||||
clearable
|
||||
:max="1"
|
||||
:min="0"
|
||||
/>
|
||||
<NSplit v-model:size="split" style="height: 200px">
|
||||
<template #1>
|
||||
<div style="width: 100%; background-color: black" />
|
||||
|
Loading…
Reference in New Issue
Block a user