mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-15 14:03:36 +08:00
chore: update
This commit is contained in:
@@ -8,7 +8,7 @@ defineOptions({
|
||||
});
|
||||
|
||||
const { t } = useI18n();
|
||||
const loading = ref(false);
|
||||
const loading = ref(true);
|
||||
const currentRoute = useRoute();
|
||||
const frameSrc = ref<string>("");
|
||||
const frameRef = ref<HTMLElement | null>(null);
|
||||
@@ -16,6 +16,7 @@ const frameRef = ref<HTMLElement | null>(null);
|
||||
if (unref(currentRoute.meta)?.frameSrc) {
|
||||
frameSrc.value = unref(currentRoute.meta)?.frameSrc as string;
|
||||
}
|
||||
unref(currentRoute.meta)?.frameLoading === false && hideLoading();
|
||||
|
||||
function hideLoading() {
|
||||
loading.value = false;
|
||||
@@ -39,7 +40,6 @@ function init() {
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
loading.value = true;
|
||||
init();
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -11,7 +11,6 @@ import {
|
||||
// 核心
|
||||
VXETable,
|
||||
// 表格功能
|
||||
Header,
|
||||
Footer,
|
||||
Icon,
|
||||
Filter,
|
||||
@@ -79,7 +78,6 @@ VXETable.setup({
|
||||
|
||||
export function useTable(app: App) {
|
||||
app
|
||||
.use(Header)
|
||||
.use(Footer)
|
||||
.use(Icon)
|
||||
.use(Filter)
|
||||
|
||||
@@ -18,6 +18,7 @@ const pptRouter = {
|
||||
meta: {
|
||||
title: "PPT",
|
||||
frameSrc: "https://pipipi-pikachu.github.io/PPTist/",
|
||||
frameLoading: false,
|
||||
extraIcon: {
|
||||
svg: true,
|
||||
name: "team-iconxinpin"
|
||||
|
||||
Reference in New Issue
Block a user