jszjdy-regulatory-app/components/update_version/index.vue

36 lines
814 B
Vue
Raw Permalink Normal View History

2026-04-27 11:54:37 +08:00
<template>
<u-modal
:show="updateVersion.modalShow"
title="温馨提示"
:show-confirm-button="updateVersion.showConfirmButton"
:show-cancel-button="updateVersion.showCancelButton"
:confirm-text="updateVersion.confirmText"
:cancel-text="updateVersion.cancelText"
@cancel="modalCancel"
@confirm="modalConfirm"
>
<view style="text-align: center; color: #606266">
<rich-text :nodes="updateVersion.modalContent"></rich-text>
</view>
</u-modal>
</template>
<script>
import updateVersion from "../../utils/updateVersion";
export default {
mixins: [updateVersion],
props: {
toast: {
type: Boolean,
default: false,
},
},
created() {
!this.toast && this.fnUpdateVersion(this.toast);
},
};
</script>
<style scoped lang="scss"></style>