mirror of
https://github.com/certd/certd.git
synced 2026-07-18 20:17:34 +08:00
refactor: for test
This commit is contained in:
@@ -7,7 +7,7 @@ import { defineComponent, ref, onMounted } from "vue";
|
||||
import { useCrud, dict, useExpose } from "@fast-crud/fast-crud";
|
||||
import createCrudOptions from "./crud";
|
||||
import { GetCrud } from "./api";
|
||||
import _ from "lodash-es";
|
||||
import _ from "lodash";
|
||||
export default defineComponent({
|
||||
name: "AdvancedFromBackend",
|
||||
setup() {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import mockUtil from "/src/mock/base";
|
||||
import _ from "lodash-es";
|
||||
import _ from "lodash";
|
||||
const options = {
|
||||
name: "FormLinkage",
|
||||
idGenerator: 0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import * as api from "./api";
|
||||
import _ from "lodash-es";
|
||||
import _ from "lodash";
|
||||
import { dict } from "@fast-crud/fast-crud";
|
||||
export default function ({ expose, localDataRef }) {
|
||||
const pageRequest = async ({ page, query }) => {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
import { defineComponent, ref, onMounted } from "vue";
|
||||
import { dict, useCrud } from "@fast-crud/fast-crud";
|
||||
import { useExpose } from "@fast-crud/fast-crud";
|
||||
import _ from "lodash-es";
|
||||
import _ from "lodash";
|
||||
|
||||
//此处为crudOptions配置
|
||||
const createCrudOptions = function ({ expose }) {
|
||||
|
||||
@@ -2,7 +2,7 @@ import * as api from "./api";
|
||||
import { requestForMock } from "/src/api/service";
|
||||
import { dict } from "@fast-crud/fast-crud";
|
||||
import { ref } from "vue";
|
||||
import _ from "lodash-es";
|
||||
import _ from "lodash";
|
||||
function useSearchRemote() {
|
||||
let lastFetchId = 0;
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
import { defineComponent, ref, onMounted } from "vue";
|
||||
import { useCrud, useExpose, useColumns } from "@fast-crud/fast-crud";
|
||||
import createCrudOptions from "./crud";
|
||||
import _ from "lodash-es";
|
||||
import _ from "lodash";
|
||||
import { message } from "ant-design-vue";
|
||||
export default defineComponent({
|
||||
name: "FormCustomForm",
|
||||
|
||||
@@ -18,7 +18,7 @@ import { defineComponent, ref, onMounted } from "vue";
|
||||
import { useCrud, useExpose, useColumns } from "@fast-crud/fast-crud";
|
||||
import createCrudOptions from "./crud";
|
||||
import * as api from "./api";
|
||||
import _ from "lodash-es";
|
||||
import _ from "lodash";
|
||||
import { message } from "ant-design-vue";
|
||||
import { usePageStore } from "/@/store/modules/page";
|
||||
export default defineComponent({
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
import { defineComponent, ref, onMounted } from "vue";
|
||||
import { useCrud, useExpose, useColumns } from "@fast-crud/fast-crud";
|
||||
import createCrudOptions from "./crud";
|
||||
import _ from "lodash-es";
|
||||
import _ from "lodash";
|
||||
import { message } from "ant-design-vue";
|
||||
export default defineComponent({
|
||||
name: "FormNewPage",
|
||||
|
||||
Reference in New Issue
Block a user