Skip to content

Commit

Permalink
feat(ip-section): [ip-section] modify demo (#2129)
Browse files Browse the repository at this point in the history
  • Loading branch information
James-9696 authored Sep 14, 2024
1 parent 71b1eae commit a2fbaf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="content">
<tiny-button @click="visible = !visible" :reset-time="0">默认插槽</tiny-button>
<tiny-modal v-model="visible" :lock-scroll="false" show-footer width="1000">
<tiny-modal v-model="visible" :lock-scroll="false" show-footer width="1000" type="confirm">
<template #default>
<p class="test">test</p>
<tiny-grid :tooltip-config="{ 'append-to-body': true }" :data="tableData" :auto-resize="true">
Expand Down Expand Up @@ -50,5 +50,6 @@ const tableData = ref([
<style scoped>
.test {
margin-bottom: 16px;
color: #595959;
}
</style>
3 changes: 2 additions & 1 deletion examples/sites/demos/pc/app/modal/default-grid.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="content">
<tiny-button @click="visible = !visible" :reset-time="0">默认插槽</tiny-button>
<tiny-modal v-model="visible" :lock-scroll="false" show-footer width="1000">
<tiny-modal v-model="visible" :lock-scroll="false" show-footer width="1000" type="confirm">
<template #default>
<p class="test">test</p>
<tiny-grid :tooltip-config="{ 'append-to-body': true }" :data="tableData" :auto-resize="true">
Expand Down Expand Up @@ -61,5 +61,6 @@ export default {
<style scoped>
.test {
margin-bottom: 16px;
color: #595959;
}
</style>

0 comments on commit a2fbaf6

Please sign in to comment.