-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3b0545a
commit e88f256
Showing
14 changed files
with
267 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,4 @@ | |
</el-config-provider> | ||
</template> | ||
|
||
<style scoped> | ||
</style> | ||
<style scoped></style> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<template> | ||
<el-dialog v-model="dialogShow" title="Tips" width="30%"> | ||
<span>This is a message</span> | ||
|
||
<template #footer> | ||
<div style="text-align: center"> | ||
<el-button @click="emit('update:dialogVisible', false)">取消</el-button> | ||
<el-button type="primary" @click="emit('update:dialogVisible', false)">确认</el-button> | ||
</div> | ||
</template> | ||
|
||
</el-dialog> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { ref, computed } from 'vue' | ||
const props = defineProps({ | ||
dialogVisible: { | ||
type: Boolean, | ||
}, | ||
}); | ||
const emit = defineEmits(['update:dialogVisible']) | ||
const dialogShow = computed({ | ||
get() { | ||
return props.dialogVisible | ||
}, | ||
set(val) { | ||
return val | ||
} | ||
}) | ||
</script> | ||
|
||
<style scoped></style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<template> | ||
<div> | ||
<el-button @click="show = true"> | ||
打开弹窗 | ||
</el-button> | ||
<add-dialog v-model:dialogVisible="show" v-if="show" /> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { ref, defineAsyncComponent } from 'vue' | ||
const AddDialog = defineAsyncComponent(() => import('@/components/AddDialog.vue')) | ||
const show = ref(false) | ||
</script> | ||
|
||
<style scoped></style> |
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.