Skip to content

Commit

Permalink
feat: modify uploader size
Browse files Browse the repository at this point in the history
  • Loading branch information
icebergtsn committed Sep 4, 2024
1 parent 7728ac4 commit 9c70648
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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.21",
"version": "0.1.22",
"private": false,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
12 changes: 6 additions & 6 deletions packages/uploader/src/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div style="display: inline-block;">
<div class="wrap" :style="{width: `${width}px`, height: `${height}px`}">
<div style="display: inline-block;" :style="{width: width, height: height}">
<div class="wrap" :style="{width: width, height: height}">
<input
v-show="!loading"
class="quploader"
Expand Down Expand Up @@ -35,14 +35,14 @@ export default defineComponent({
},
props: {
width: {
type: [Number, String],
type: String,
required: false,
default: 100
default: '100px'
},
height: {
type: [Number, String],
type: String,
required: false,
default: 100
default: '100px'
},
action: {
type: String,
Expand Down

0 comments on commit 9c70648

Please sign in to comment.