mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 新增 plop 自动化生成工具
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
import Page from './index.vue'
|
||||
|
||||
export { Page }
|
||||
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
页面设置
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
@@ -39,13 +39,14 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { shallowRef, ref, toRefs, watch } from 'vue'
|
||||
import { shallowRef, ref, toRefs, watch, reactive } from 'vue'
|
||||
import { icon } from '@/plugins'
|
||||
import { ContentBox } from '../ContentBox/index'
|
||||
import { useChartLayoutStore } from '@/store/modules/chartLayoutStore/chartLayoutStore'
|
||||
import { ChartLayoutStoreEnums } from '@/store/modules/chartLayoutStore/chartLayoutStore.d'
|
||||
import { Setting } from './components/Setting/index'
|
||||
import { Behind } from './components/Behind/index'
|
||||
import { Page } from './components/Page/index'
|
||||
import { ContentDrag } from '../ContentDrag/index'
|
||||
|
||||
const { getDetails } = toRefs(useChartLayoutStore())
|
||||
@@ -73,10 +74,17 @@ watch(getDetails, (newData) => {
|
||||
}
|
||||
})
|
||||
|
||||
// 页面设置
|
||||
const pageSetting = reactive({
|
||||
key: 'pageSetting',
|
||||
title: '页面设置',
|
||||
render: Page
|
||||
})
|
||||
|
||||
const tabList = shallowRef([
|
||||
{
|
||||
key: 'setting',
|
||||
title: '配置项',
|
||||
title: '设置',
|
||||
icon: CubeIcon,
|
||||
render: Setting
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user