refactor: refactor the frame layout of admin module

This commit is contained in:
RockYang
2023-06-21 14:22:28 +08:00
parent 0e6606e469
commit 3674d9da85
35 changed files with 1758 additions and 334 deletions

View File

@@ -1,6 +1,6 @@
<template>
<el-dialog
v-model="show"
v-model="showDialog"
:close-on-click-modal="false"
:show-close="true"
:before-close="close"
@@ -32,20 +32,17 @@
</template>
<script setup>
import {onMounted, ref} from "vue"
import {computed, ref} from "vue"
import {httpPost} from "@/utils/http";
import {ElMessage} from "element-plus";
const props = defineProps({
show: Boolean,
});
const form = ref({})
onMounted(() => {
const showDialog = computed(() => {
return props.show
})
const form = ref({})
const emits = defineEmits(['hide', 'logout']);
const save = function () {
if (!form.value['password'] || form.value['password'].length < 8) {