Skip to content

Commit a2fbaf6

Browse files
authored
feat(ip-section): [ip-section] modify demo (#2129)
1 parent 71b1eae commit a2fbaf6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

examples/sites/demos/pc/app/modal/default-grid-composition-api.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div class="content">
33
<tiny-button @click="visible = !visible" :reset-time="0">默认插槽</tiny-button>
4-
<tiny-modal v-model="visible" :lock-scroll="false" show-footer width="1000">
4+
<tiny-modal v-model="visible" :lock-scroll="false" show-footer width="1000" type="confirm">
55
<template #default>
66
<p class="test">test</p>
77
<tiny-grid :tooltip-config="{ 'append-to-body': true }" :data="tableData" :auto-resize="true">
@@ -50,5 +50,6 @@ const tableData = ref([
5050
<style scoped>
5151
.test {
5252
margin-bottom: 16px;
53+
color: #595959;
5354
}
5455
</style>

examples/sites/demos/pc/app/modal/default-grid.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div class="content">
33
<tiny-button @click="visible = !visible" :reset-time="0">默认插槽</tiny-button>
4-
<tiny-modal v-model="visible" :lock-scroll="false" show-footer width="1000">
4+
<tiny-modal v-model="visible" :lock-scroll="false" show-footer width="1000" type="confirm">
55
<template #default>
66
<p class="test">test</p>
77
<tiny-grid :tooltip-config="{ 'append-to-body': true }" :data="tableData" :auto-resize="true">
@@ -61,5 +61,6 @@ export default {
6161
<style scoped>
6262
.test {
6363
margin-bottom: 16px;
64+
color: #595959;
6465
}
6566
</style>

0 commit comments

Comments
 (0)