Skip to content

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
STATICHIT committed Jul 27, 2024
1 parent 127cbf2 commit 7730e6d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
3 changes: 1 addition & 2 deletions packages/plugins/page/src/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</template>

<script lang="jsx">
import { reactive, ref, watchEffect, provide,watch } from 'vue'
import { reactive, ref, watchEffect, provide } from 'vue'
import { useCanvas, useApp, useResource, usePage, useHelp } from '@opentiny/tiny-engine-controller'
import { PluginPanel, SvgButton, LinkButton } from '@opentiny/tiny-engine-common'
import { extend } from '@opentiny/vue-renderless/common/object'
Expand Down Expand Up @@ -153,7 +153,6 @@ export default {
pageTreeRef.value.switchPage(data)
}
const { PLUGIN_NAME } = useLayout()
return {
state,
Expand Down
12 changes: 9 additions & 3 deletions packages/settings/events/src/Main.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<template>
<plugin-panel title="高级" :fixed-panels="fixedPanels" :fixed-name="SETTING_NAME.Event" :defaultWidth="320" @close="$emit('close')">
<plugin-panel
title="高级"
:fixed-panels="fixedPanels"
:fixed-name="SETTING_NAME.Event"
:defaultWidth="320"
@close="$emit('close')"
>
<template #content>
<tiny-collapse v-model="activeNames">
<tiny-collapse-item title="事件绑定" name="bindEvent">
Expand All @@ -13,17 +19,17 @@
</plugin-panel>
</template>

<!-- event插件界面 -->
<script>
import { ref, reactive, provide } from 'vue'
import { Collapse as TinyCollapse, CollapseItem as TinyCollapseItem } from '@opentiny/vue'
import BindEvents from './components/BindEvents.vue'
import AdvanceConfig from './components/AdvanceConfig.vue'
import { PluginPanel, SvgButton } from '@opentiny/tiny-engine-common'
import { PluginPanel } from '@opentiny/tiny-engine-common'
import { useLayout } from '@opentiny/tiny-engine-controller'
export default {
components: {
PluginPanel,
SvgButton,
BindEvents,
AdvanceConfig,
TinyCollapse,
Expand Down

0 comments on commit 7730e6d

Please sign in to comment.