This commit is contained in:
神仙都没用 2024-02-27 11:35:04 +08:00
parent 589b153380
commit 433cc0595c
20 changed files with 24 additions and 21 deletions

View File

@ -3,7 +3,7 @@
"prefix": "module-config",
"scope": "typescript",
"body": [
"import { ModuleConfig } from \"/@/cool\";",
"import type { ModuleConfig } from \"/@/cool\";",
"",
"export default (): ModuleConfig => {",
" return {};",

View File

@ -2,7 +2,7 @@ import VueECharts from "vue-echarts";
import ElementPlus from "element-plus";
import { useStore } from "./store";
import { config } from "/@/config";
import { ModuleConfig } from "/@/cool";
import type { ModuleConfig } from "/@/cool";
import "element-plus/theme-chalk/src/index.scss";
import "./static/css/index.scss";

View File

@ -1,4 +1,4 @@
import { ModuleConfig } from "/@/cool";
import type { ModuleConfig } from "/@/cool";
export default (): ModuleConfig => {
return {

View File

@ -1,4 +1,4 @@
import { ModuleConfig } from "/@/cool";
import type { ModuleConfig } from "/@/cool";
import { CodeDeclare } from "./dict";
import { addDeclare } from "/@/plugins/editor-monaco";

View File

@ -1,4 +1,4 @@
import { ModuleConfig } from "/@/cool";
import type { ModuleConfig } from "/@/cool";
export default (): ModuleConfig => {
return {

View File

@ -1,4 +1,4 @@
import { ModuleConfig } from "/@/cool";
import type { ModuleConfig } from "/@/cool";
export default (): ModuleConfig => {
return {

View File

@ -1,4 +1,4 @@
import { ModuleConfig } from "/@/cool";
import type { ModuleConfig } from "/@/cool";
import { useDict } from "./index";
export default (): ModuleConfig => {

View File

@ -1,4 +1,4 @@
import { ModuleConfig } from "/@/cool";
import type { ModuleConfig } from "/@/cool";
import { getRules } from "./utils";
export default (): ModuleConfig => {

View File

@ -1,4 +1,6 @@
export default () => {
import type { ModuleConfig } from "/@/cool";
export default (): ModuleConfig => {
return {
components: [
() => import("./components/space.vue"),

View File

@ -1,7 +1,6 @@
import { setTheme } from "./utils";
import { storage } from "/@/cool";
import { ModuleConfig } from "../../cool/types";
import { config } from "/@/config";
import { storage, type ModuleConfig } from "/@/cool";
import "element-plus/theme-chalk/dark/css-vars.css";
import "./static/css/index.scss";

View File

@ -1,4 +1,4 @@
import { ModuleConfig } from "/@/cool";
import type { ModuleConfig } from "/@/cool";
export default (): ModuleConfig => {
return {};

View File

@ -1,4 +1,4 @@
import { Merge, ModuleConfig } from "/@/cool";
import type { Merge, ModuleConfig } from "/@/cool";
// npm
import Crud, { locale, setFocus } from "@cool-vue/crud";

View File

@ -1,4 +1,4 @@
import { PropType, defineComponent } from "vue";
import { type PropType, defineComponent } from "vue";
import data from "../data/pca.json";
export default defineComponent({

View File

@ -1,4 +1,4 @@
import { ModuleConfig } from "/@/cool";
import type { ModuleConfig } from "/@/cool";
import { registerFormHook } from "@cool-vue/crud";
// 注册hook

View File

@ -1,4 +1,4 @@
import { ModuleConfig } from "/@/cool";
import type { ModuleConfig } from "/@/cool";
export default (): ModuleConfig => {
return {

View File

@ -1,4 +1,4 @@
import { ModuleConfig } from "/@/cool";
import type { ModuleConfig } from "/@/cool";
export default (): ModuleConfig => {
return {

View File

@ -1,4 +1,4 @@
import { ModuleConfig } from "/@/cool";
import type { ModuleConfig } from "/@/cool";
export default (): ModuleConfig => {
return {

View File

@ -1,4 +1,4 @@
import { ModuleConfig } from "/@/cool";
import type { ModuleConfig } from "/@/cool";
export default (): ModuleConfig => {
return {

View File

@ -1,4 +1,6 @@
export default () => {
import type { ModuleConfig } from "/@/cool";
export default (): ModuleConfig => {
return {
label: "文件上传",
description: "基于 el-upload 封装的文件上传组件",

View File

@ -1,4 +1,4 @@
import { ModuleConfig } from "/@/cool";
import type { ModuleConfig } from "/@/cool";
export default (): ModuleConfig => {
return {