u
This commit is contained in:
1 parent
e99a9fb274
commit
0be0b0767a
788 files changed
+112023
-14941
No files matched your search
@@ -14,17 +14,11 @@ const resizable = ref(true)
|
||||
<G3Button size="small" type="outline" @click="width = 360">窄(360px)</G3Button>
|
||||
<G3Button size="small" type="outline" @click="width = 640">宽(640px)</G3Button>
|
||||
<G3Button size="small" type="outline" @click="width = '60%'">百分比(60%)</G3Button>
|
||||
<G3Button size="small" type="ghost" @click="resizable = !resizable">
|
||||
拖拽:{{ resizable ? '开' : '关' }}
|
||||
</G3Button>
|
||||
<G3Button size="small" type="ghost" @click="resizable = !resizable">拖拽</G3Button>
|
||||
</G3Space>
|
||||
|
||||
<div>
|
||||
<G3Button @click="open = true">打开(宽 {{ width }})</G3Button>
|
||||
</div>
|
||||
<G3Button @click="open = true">打开</G3Button>
|
||||
|
||||
<G3Drawer v-model:open="open" title="尺寸可配置" :width="width" :resizable="resizable">
|
||||
当前宽度:{{ width }}。拖拽左边缘时只会改变宽度,不会影响高度。
|
||||
</G3Drawer>
|
||||
<G3Drawer v-model:open="open" title="尺寸可配置" :width="width" :resizable="resizable" />
|
||||
</G3Space>
|
||||
</template>
|
||||
Reference in new issue
Block a user