update
1.修改提示弹窗
This commit is contained in:
+10
-3
@@ -7,19 +7,17 @@
|
||||
import zhCN from 'ant-design-vue/es/locale/zh_CN';
|
||||
import dayjs from 'dayjs';
|
||||
import 'dayjs/locale/zh-cn';
|
||||
import { h, nextTick, onMounted, ref, watch } from 'vue';
|
||||
import { onMounted, watch } from 'vue';
|
||||
import { getEmergencyCenterApi } from '/@/api/user.ts';
|
||||
import { useUserStore } from '/@/store/modules/user.ts';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { getBaseLogin } from '/@/enum/pageEnum.ts';
|
||||
import { Modal } from 'ant-design-vue';
|
||||
|
||||
dayjs.locale('zh-cn');
|
||||
const locle = zhCN;
|
||||
|
||||
const userStore = useUserStore();
|
||||
const router = useRouter();
|
||||
const appRouteView = ref();
|
||||
|
||||
onMounted(async () => {
|
||||
try {
|
||||
@@ -60,5 +58,14 @@
|
||||
<style lang="less">
|
||||
.modal-confirm-d {
|
||||
top: 28% !important;
|
||||
.ant-modal-confirm-content,
|
||||
.ant-modal-confirm-title {
|
||||
color: #ffffff !important;
|
||||
}
|
||||
.ant-modal-confirm-btns {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
+2
-1
@@ -75,7 +75,8 @@ export function emptyChart() {
|
||||
export function openTestModal() {
|
||||
nextTick(() => {
|
||||
Modal.warning({
|
||||
content: h('span', { style: { color: '#ffffff' } }, '点击确定打开提示音'),
|
||||
title: '提示',
|
||||
content: '点击确定打开提示音',
|
||||
okText: '确定',
|
||||
class: 'modal-confirm-d',
|
||||
bodyStyle: {
|
||||
|
||||
Reference in New Issue
Block a user