style(flowable): 优化流程相关代码的import顺序和代码结构
This commit is contained in:
@@ -259,17 +259,8 @@
|
||||
</template>
|
||||
|
||||
<script setup name="Data">
|
||||
import {
|
||||
addData,
|
||||
delData,
|
||||
getData,
|
||||
listData,
|
||||
updateData,
|
||||
} from "@/api/system/dict/data";
|
||||
import {
|
||||
optionselect as getDictOptionselect,
|
||||
getType,
|
||||
} from "@/api/system/dict/type";
|
||||
import {addData, delData, getData, listData, updateData,} from "@/api/system/dict/data";
|
||||
import {getType, optionselect as getDictOptionselect,} from "@/api/system/dict/type";
|
||||
import useDictStore from "@/store/modules/dict";
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
@@ -212,14 +212,7 @@
|
||||
|
||||
<script setup name="Dict">
|
||||
import useDictStore from '@/store/modules/dict';
|
||||
import {
|
||||
listType,
|
||||
getType,
|
||||
delType,
|
||||
addType,
|
||||
updateType,
|
||||
refreshCache,
|
||||
} from '@/api/system/dict/type';
|
||||
import {addType, delType, getType, listType, refreshCache, updateType,} from '@/api/system/dict/type';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const { sys_normal_disable } = proxy.useDict('sys_normal_disable');
|
||||
|
||||
Reference in New Issue
Block a user