Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Momo poppy/fix bugs 1028 1704 #2441

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/sites/demos/pc/app/file-upload/webdoc/file-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ export default {
'en-US': 'Restrict file types'
},
desc: {
'zh-CN': '通过 <code>accept</code> 设置限制上传文件的格式。',
'en-US': 'Limit the format of uploaded files by setting <code>accept</code> .'
'zh-CN': '通过 <code>accept</code> 设置限制上传文件的格式只能为图片类型。',
'en-US': 'Set a limit on the format of uploaded files to only be image type through <code>accept</code>.'
},
codeFiles: ['accept-file-image.vue']
},
Expand Down
8 changes: 8 additions & 0 deletions examples/sites/demos/pc/app/tag/size-composition-api.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,19 @@
<tiny-tag type="success"> 默认标签 </tiny-tag>
<tiny-tag size="small" type="success"> 小型标签 </tiny-tag>
<tiny-tag size="mini" type="success"> 超小标签 </tiny-tag>
<br /><br />
<tiny-tag size="medium" type="success" only-icon> <tiny-icon-heartempty /> </tiny-tag>
<tiny-tag type="success" only-icon> <tiny-icon-heartempty /> </tiny-tag>
<tiny-tag size="small" type="success" only-icon> <tiny-icon-heartempty /> </tiny-tag>
<tiny-tag size="mini" type="success" only-icon> <tiny-icon-heartempty /> </tiny-tag>
</div>
</template>

<script setup lang="jsx">
import { TinyTag } from '@opentiny/vue'
import { IconHeartempty } from '@opentiny/vue-icon'

const TinyIconHeartempty = IconHeartempty()
</script>

<style>
Expand Down
9 changes: 8 additions & 1 deletion examples/sites/demos/pc/app/tag/size.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,22 @@
<tiny-tag type="success"> 默认标签 </tiny-tag>
<tiny-tag size="small" type="success"> 小型标签 </tiny-tag>
<tiny-tag size="mini" type="success"> 超小标签 </tiny-tag>
<br /><br />
<tiny-tag size="medium" type="success" only-icon> <tiny-icon-heartempty /> </tiny-tag>
<tiny-tag type="success" only-icon> <tiny-icon-heartempty /> </tiny-tag>
<tiny-tag size="small" type="success" only-icon> <tiny-icon-heartempty /> </tiny-tag>
<tiny-tag size="mini" type="success" only-icon> <tiny-icon-heartempty /> </tiny-tag>
</div>
</template>

<script lang="jsx">
import { TinyTag } from '@opentiny/vue'
import { IconHeartempty } from '@opentiny/vue-icon'

export default {
components: {
TinyTag
TinyTag,
TinyIconHeartempty: IconHeartempty()
}
}
</script>
Expand Down
6 changes: 4 additions & 2 deletions examples/sites/demos/pc/app/tag/webdoc/tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ export default {
desc: {
'zh-CN': `
通过默认插槽,可以将文字和图标显示为一个标签。 <br>
通过 <code>value</code> 属性,也可以设置标签值。
通过 <code>value</code> 属性,也可以设置标签值。 <br>
通过 <code>only-icon</code> 属性,设置标签只有图标。
`,
'en-US': `
Through the default slot, text and ICONS can be displayed as a label. <br>
Tag values can also be set using the <code>value</code> property.
Tag values can also be set using the <code>value</code> property. <br>
Use the <code>only-icon</code> property to set the label to only ICONS.
`
},
codeFiles: ['basic-usage.vue']
Expand Down
4 changes: 1 addition & 3 deletions packages/design/aurora/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import Pager from './src/pager'
import Wizard from './src/wizard'
import DialogBox from './src/dialog-box'
import Popeditor from './src/popeditor'
import DialogSelect from './src/dialog-select'
import { version } from './package.json'

export default {
Expand Down Expand Up @@ -62,7 +61,6 @@ export default {
Pager,
Wizard,
DialogBox,
Popeditor,
DialogSelect
Popeditor
}
}
Loading
Loading