@@ -277,7 +277,7 @@
},
// #ifdef H5
{
- "path": "pages/editor/MiniProgramEditor",
+ "path": "pages/article/data/editor/MiniProgramEditor",
"style": {
"navigationBarTitleText": "小程序编辑器",
"navigationStyle": "custom"
@@ -96,7 +96,7 @@
<script setup lang="ts">
import { ref, computed } from 'vue';
-import type { IHomeCommonCategoryListDefine, IHomeCommonCategoryListTabItemDefine } from '../../article/data/CommonCategoryDefine';
+import type { IHomeCommonCategoryListDefine, IHomeCommonCategoryListTabItemDefine } from '../../CommonCategoryDefine';
import KeyValueEditor from '../components/KeyValueEditor.vue';
import DynamicDataEditor from '../components/DynamicDataEditor.vue';
import LinkPathEditor from '../components/LinkPathEditor.vue';
@@ -46,7 +46,7 @@
import { ref } from 'vue';
import { PlusOutlined } from '@ant-design/icons-vue';
-import type { IHomeCommonCategoryHomeDefine, IHomeCommonCategoryListTabNestCategoryItemDefine } from '../../article/data/CommonCategoryDefine';
+import type { IHomeCommonCategoryHomeDefine, IHomeCommonCategoryListTabNestCategoryItemDefine } from '../../CommonCategoryDefine';
import IconEditor from '../components/IconEditor.vue';
@@ -12,8 +12,8 @@
import { provide, computed, toRef, markRaw, type Component, ref, watch } from 'vue';
-import { COMMON_CATEGORY_KEY } from '@/pages/article/data/CommonCategoryGlobalLoader';
-import type { IHomeCommonCategoryDefine } from '@/pages/article/data/CommonCategoryDefine';
+import { COMMON_CATEGORY_KEY } from '../../CommonCategoryGlobalLoader';
+import type { IHomeCommonCategoryDefine } from '../../CommonCategoryDefine';
import HomePage from '@/pages/home/index.vue';
import CommonCategoryList from '@/pages/article/data/CommonCategoryList.vue';
import { ObjectUtils } from '@imengyu/imengyu-utils';
@@ -62,12 +62,12 @@
</template>
-import type { IHomeCommonCategoryListTabNestCategoryItemDefine } from '@/pages/article/data/CommonCategoryDefine';
-import type { IHomeCommonCategoryDynamicData } from '@/pages/article/data/CommonCategoryDynamicData';
+import type { IHomeCommonCategoryListTabNestCategoryItemDefine } from '../../CommonCategoryDefine';
+import type { IHomeCommonCategoryDynamicData } from '../../CommonCategoryDynamicData';
import DataSolveEditor from '../components/DataSolveEditor.vue';
-import { CommonCategoryBlockType } from '@/pages/article/data/CommonCategoryBlocks';
+import { CommonCategoryBlockType } from '../../CommonCategoryBlocks';
import ItemTypeEditor from '../components/ItemTypeEditor.vue';
const props = defineProps<{
@@ -29,7 +29,7 @@ import type {
IHomeCommonCategoryDefine,
IHomeCommonCategoryHomeDefine,
IHomeCommonCategoryListDefine,
-} from '@/pages/article/data/CommonCategoryDefine';
+} from '../../CommonCategoryDefine';
import HomePropsEditor from '../editors/HomePropsEditor.vue';
import CommonListPropsEditor from '../editors/CommonListPropsEditor.vue';
@@ -1,4 +0,0 @@
-<?php
-
-const MINI_PROGRAM_EDITOR_JSON_PATH = '/www/wwwroot/minnanCE/public/app_static/minnan/data/dynamicCategoryConfig.json';