Skip to content

Commit bc2b11a

Browse files
committed
chore: 完善ui包dialog组件类型
1 parent f9c61ea commit bc2b11a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/ui/src/components/Button/Button.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const handleClick = (event: MouseEvent) => {
3939
};
4040
</script>
4141

42-
<!-- <style src="./Button.scss"></style> 这种写法gulp+rollup打包会报错,vite打包不会,采用以下都兼容的写法-->
42+
<!-- <style src="./Button.scss"></style> 这种写法 gulp + rollup 打包会报错,vite 打包不会,所以采用以下都兼容的写法-->
4343
<style lang="scss">
4444
@use './Button.scss' as *;
4545
</style>

packages/ui/src/components/Dialog/Dialog.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export interface DialogProps {
2-
// visible: boolean;
2+
open: boolean;
33
}
44

55
export interface DialogEmits {

0 commit comments

Comments
 (0)