Commit 9b585f84 by pangchong

feat: 修改不符合规则的内容

parent fca0875e
......@@ -36,7 +36,6 @@
</template>
<script setup lang="ts">
import { computed } from 'vue'
import type { XmlNode } from '@/types/xmlNode'
const props = defineProps<{
......
......@@ -5,8 +5,6 @@
</template>
<script setup lang="ts">
import { computed } from 'vue'
const props = defineProps({
/** 绑定的值 (如 v-model) */
checked: {
......
......@@ -5,8 +5,6 @@
</template>
<script setup lang="ts">
import { computed } from 'vue'
const props = defineProps({
/** 绑定的值 (如 v-model) */
checked: {
......
import type { XmlNode } from '@/types/xmlNode'
import { openUploadModal } from '@/utils/render'
import { uploadImage } from '@/utils/bridge'
import { DEFAULT_FORM_STATE } from '../constants'
import type { GraphicFormState } from '../constants'
......
import { parseXmlToTree } from '@/utils/xmlParser'
import type { XmlNode } from '@/types/xmlNode'
export function useViewEffectModal() {
......
import { useEditorStore } from '@/store/editor'
import { getTemplateList } from '@/utils/bridge'
import type { TemplateItem } from '../constants'
import { apiConfig } from '@/configs/api'
......
import { useEditorStore, createTableStructure } from '@/store/editor'
import { useAppStore } from '@/store/app/index'
import type { XmlNode } from '@/types/xmlNode'
import { serializeTreeToXml } from '@/utils/xmlParser'
/**
* EditorToolbar 组件级业务逻辑 Hook
......
import { formatXmlText } from '@/utils/xmlParser'
export const useViewXmlModal = () => {
// 每个组件实例持有独立的可见性状态,避免多实例共享同一 ref 导致同时打开
const viewXmlVisible = ref(false)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment