Skip to content

Commit

Permalink
fix: dialogBar add platform
Browse files Browse the repository at this point in the history
  • Loading branch information
wushuangs committed Sep 25, 2024
1 parent 56c472d commit e315d0a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bytetrade/ui",
"version": "0.1.24",
"version": "0.1.25",
"private": false,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
2 changes: 1 addition & 1 deletion packages/dialog/src/DialogBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{{ title }}
</div>
<q-space />
<q-btn dense flat icon="close" color="ink-3" v-close-popup @click="onCancel">
<q-btn dense flat icon="close" color="ink-3" v-close-popup>
<q-tooltip>Close</q-tooltip>
</q-btn>
</q-bar>
Expand Down
3 changes: 0 additions & 3 deletions packages/dialog/src/DialogFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,8 @@
</template>

<script lang="ts" setup>
import { ref } from 'vue';
import { useQuasar } from 'quasar';
import ConfirmButton from './ConfirmButton.vue';
defineProps({
platform: {
type: String,
Expand Down
2 changes: 2 additions & 0 deletions packages/dialog/src/IndexDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
:title="title"
:icon="icon"
:titAlign="titAlign"
:platform="platform"
@close="onCancel"
/>

Expand All @@ -34,6 +35,7 @@
:cancel="cancel"
:okStyle="okStyle"
:loading="okLoading"
:platform="platform"
@close="onCancel"
@submit="submit"
/>
Expand Down

0 comments on commit e315d0a

Please sign in to comment.