mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
优化
This commit is contained in:
parent
589b153380
commit
433cc0595c
2
.vscode/config.code-snippets
vendored
2
.vscode/config.code-snippets
vendored
@ -3,7 +3,7 @@
|
||||
"prefix": "module-config",
|
||||
"scope": "typescript",
|
||||
"body": [
|
||||
"import { ModuleConfig } from \"/@/cool\";",
|
||||
"import type { ModuleConfig } from \"/@/cool\";",
|
||||
"",
|
||||
"export default (): ModuleConfig => {",
|
||||
" return {};",
|
||||
|
@ -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";
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ModuleConfig } from "/@/cool";
|
||||
import type { ModuleConfig } from "/@/cool";
|
||||
|
||||
export default (): ModuleConfig => {
|
||||
return {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ModuleConfig } from "/@/cool";
|
||||
import type { ModuleConfig } from "/@/cool";
|
||||
import { CodeDeclare } from "./dict";
|
||||
import { addDeclare } from "/@/plugins/editor-monaco";
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ModuleConfig } from "/@/cool";
|
||||
import type { ModuleConfig } from "/@/cool";
|
||||
|
||||
export default (): ModuleConfig => {
|
||||
return {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ModuleConfig } from "/@/cool";
|
||||
import type { ModuleConfig } from "/@/cool";
|
||||
|
||||
export default (): ModuleConfig => {
|
||||
return {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ModuleConfig } from "/@/cool";
|
||||
import type { ModuleConfig } from "/@/cool";
|
||||
import { useDict } from "./index";
|
||||
|
||||
export default (): ModuleConfig => {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ModuleConfig } from "/@/cool";
|
||||
import type { ModuleConfig } from "/@/cool";
|
||||
import { getRules } from "./utils";
|
||||
|
||||
export default (): ModuleConfig => {
|
||||
|
@ -1,4 +1,6 @@
|
||||
export default () => {
|
||||
import type { ModuleConfig } from "/@/cool";
|
||||
|
||||
export default (): ModuleConfig => {
|
||||
return {
|
||||
components: [
|
||||
() => import("./components/space.vue"),
|
||||
|
@ -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";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ModuleConfig } from "/@/cool";
|
||||
import type { ModuleConfig } from "/@/cool";
|
||||
|
||||
export default (): ModuleConfig => {
|
||||
return {};
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Merge, ModuleConfig } from "/@/cool";
|
||||
import type { Merge, ModuleConfig } from "/@/cool";
|
||||
|
||||
// npm
|
||||
import Crud, { locale, setFocus } from "@cool-vue/crud";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { PropType, defineComponent } from "vue";
|
||||
import { type PropType, defineComponent } from "vue";
|
||||
import data from "../data/pca.json";
|
||||
|
||||
export default defineComponent({
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ModuleConfig } from "/@/cool";
|
||||
import type { ModuleConfig } from "/@/cool";
|
||||
import { registerFormHook } from "@cool-vue/crud";
|
||||
|
||||
// 注册hook
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ModuleConfig } from "/@/cool";
|
||||
import type { ModuleConfig } from "/@/cool";
|
||||
|
||||
export default (): ModuleConfig => {
|
||||
return {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ModuleConfig } from "/@/cool";
|
||||
import type { ModuleConfig } from "/@/cool";
|
||||
|
||||
export default (): ModuleConfig => {
|
||||
return {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ModuleConfig } from "/@/cool";
|
||||
import type { ModuleConfig } from "/@/cool";
|
||||
|
||||
export default (): ModuleConfig => {
|
||||
return {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ModuleConfig } from "/@/cool";
|
||||
import type { ModuleConfig } from "/@/cool";
|
||||
|
||||
export default (): ModuleConfig => {
|
||||
return {
|
||||
|
@ -1,4 +1,6 @@
|
||||
export default () => {
|
||||
import type { ModuleConfig } from "/@/cool";
|
||||
|
||||
export default (): ModuleConfig => {
|
||||
return {
|
||||
label: "文件上传",
|
||||
description: "基于 el-upload 封装的文件上传组件",
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ModuleConfig } from "/@/cool";
|
||||
import type { ModuleConfig } from "/@/cool";
|
||||
|
||||
export default (): ModuleConfig => {
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user