1.代码优化

sws 2024-09-02
v1.0.0
sws 2024-09-02 09:50:15 +08:00
parent 852d1efd3a
commit 5b8d8ce9bf
5 changed files with 9 additions and 8 deletions

View File

@ -63,7 +63,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { get_math } from '@/utils'; import { get_math } from '@/utils';
import ArticleAPI from '@/api/article'; import ArticleAPI from '@/api/article';
import { articleStore } from '@/store/article'; import { articleStore } from '@/store';
const article_store = articleStore(); const article_store = articleStore();
const props = defineProps({ const props = defineProps({
value: { value: {

View File

@ -88,7 +88,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { get_math, tabs_style } from '@/utils'; import { get_math, tabs_style } from '@/utils';
import ArticleAPI from '@/api/article'; import ArticleAPI from '@/api/article';
import { articleStore } from '@/store/article'; import { articleStore } from '@/store';
const article_store = articleStore(); const article_store = articleStore();
const props = defineProps({ const props = defineProps({
value: { value: {

View File

@ -165,7 +165,7 @@ import { background_computer, get_math, gradient_computer, padding_computer, rad
import { cloneDeep } from 'lodash'; import { cloneDeep } from 'lodash';
import { SortableEvent, VueDraggable } from 'vue-draggable-plus'; import { SortableEvent, VueDraggable } from 'vue-draggable-plus';
import defaultSettings from './index'; import defaultSettings from './index';
import { footerNavCounterStore } from '@/store/modules/footer-nav-content'; import { footerNavCounterStore } from '@/store';
const footer_nav_counter_store = footerNavCounterStore(); const footer_nav_counter_store = footerNavCounterStore();
const app = getCurrentInstance(); const app = getCurrentInstance();
import { isEmpty } from 'lodash'; import { isEmpty } from 'lodash';

View File

@ -12,4 +12,5 @@ export * from './modules/upload';
export * from './modules/shop'; export * from './modules/shop';
export * from './modules/url-value'; export * from './modules/url-value';
export * from './modules/custom'; export * from './modules/custom';
export * from './modules/article';
export { store }; export { store };