add appliation confirm
This commit is contained in:
1 parent
8e87ab2afc
commit
3ac0a7aa8f
10 files changed
+405
-10
No files matched your search
@@ -0,0 +1,41 @@
|
||||
<template>
|
||||
<el-dialog
|
||||
:model-value="visible"
|
||||
:title="$t('application.message.policy')"
|
||||
width="700px"
|
||||
@close="$emit('update:visible', false)"
|
||||
>
|
||||
<markdown-renderer :content="policyText" />
|
||||
</el-dialog>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElDialog } from 'element-plus';
|
||||
import policyText from '../../assets/mds/policy.md';
|
||||
import MarkdownRenderer from '@/components/common/MarkdownRenderer.vue';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'ApplicationPolicy',
|
||||
components: {
|
||||
ElDialog,
|
||||
MarkdownRenderer
|
||||
},
|
||||
props: {
|
||||
visible: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
emits: ['update:visible'],
|
||||
data() {
|
||||
return {
|
||||
policyText
|
||||
};
|
||||
},
|
||||
methods: {}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
Reference in new issue
Block a user