mirror of https://github.com/certd/certd
chore: pref
parent
96f9eab5cd
commit
3db4d04e4c
|
@ -8,7 +8,6 @@ import "reflect-metadata";
|
||||||
export const PLUGIN_CLASS_KEY = "pipeline:plugin";
|
export const PLUGIN_CLASS_KEY = "pipeline:plugin";
|
||||||
|
|
||||||
export function IsTaskPlugin(define: PluginDefine): ClassDecorator {
|
export function IsTaskPlugin(define: PluginDefine): ClassDecorator {
|
||||||
console.log("IsTaskPlugin");
|
|
||||||
return (target: any) => {
|
return (target: any) => {
|
||||||
target = Decorator.target(target);
|
target = Decorator.target(target);
|
||||||
|
|
||||||
|
|
|
@ -23,11 +23,10 @@
|
||||||
"@ant-design/colors": "^6.0.0",
|
"@ant-design/colors": "^6.0.0",
|
||||||
"@ant-design/icons-vue": "^6.0.1",
|
"@ant-design/icons-vue": "^6.0.1",
|
||||||
"@certd/acme-client": "^1.1.1",
|
"@certd/acme-client": "^1.1.1",
|
||||||
"@certd/pipeline": "^1.1.1",
|
"@fast-crud/fast-crud": "^1.14.1",
|
||||||
"@fast-crud/fast-crud": "^1.13.8",
|
"@fast-crud/fast-extends": "^1.14.1",
|
||||||
"@fast-crud/fast-extends": "^1.13.8",
|
"@fast-crud/ui-antdv": "^1.14.1",
|
||||||
"@fast-crud/ui-antdv": "^1.13.8",
|
"@fast-crud/ui-interface": "^1.14.1",
|
||||||
"@fast-crud/ui-interface": "^1.13.8",
|
|
||||||
"@iconify/iconify": "^3.0.1",
|
"@iconify/iconify": "^3.0.1",
|
||||||
"@iconify/json": "^2.1.151",
|
"@iconify/json": "^2.1.151",
|
||||||
"@purge-icons/generated": "^0.9.0",
|
"@purge-icons/generated": "^0.9.0",
|
||||||
|
@ -60,10 +59,10 @@
|
||||||
"vuedraggable": "^4.0.1"
|
"vuedraggable": "^4.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@certd/pipeline": "^1.1.1",
|
||||||
"@rollup/plugin-commonjs": "^23.0.4",
|
"@rollup/plugin-commonjs": "^23.0.4",
|
||||||
"@rollup/plugin-node-resolve": "^15.0.1",
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
||||||
"@types/chai": "^4.3.4",
|
"@types/chai": "^4.3.4",
|
||||||
"@types/lodash": "^4.14.195",
|
|
||||||
"@types/mocha": "^10.0.1",
|
"@types/mocha": "^10.0.1",
|
||||||
"@types/node": "^18.11.15",
|
"@types/node": "^18.11.15",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.46.1",
|
"@typescript-eslint/eslint-plugin": "^5.46.1",
|
||||||
|
|
|
@ -1,20 +1,13 @@
|
||||||
import { createI18n } from "vue-i18n";
|
import { createI18n } from "vue-i18n";
|
||||||
//
|
|
||||||
import enFsLocale from "@fast-crud/fast-crud/dist/locale/lang/en.js";
|
|
||||||
import zhFsLocale from "@fast-crud/fast-crud/dist/locale/lang/zh-cn.js";
|
|
||||||
import en from "./locale/en";
|
import en from "./locale/en";
|
||||||
import zh from "./locale/zh_CN";
|
import zh from "./locale/zh_CN";
|
||||||
const messages = {
|
const messages = {
|
||||||
en: {
|
en: {
|
||||||
label: "English",
|
label: "English",
|
||||||
// 定义您自己的字典,但是请不要和 `fs` 重复,这样会导致 fast-crud 内部组件的翻译失效.
|
|
||||||
fs: enFsLocale.fs,
|
|
||||||
...en
|
...en
|
||||||
},
|
},
|
||||||
"zh-cn": {
|
"zh-cn": {
|
||||||
label: "简体中文",
|
label: "简体中文",
|
||||||
// 定义您自己的字典,但是请不要和 `fs` 重复,这样会导致 fast-crud 内部组件的翻译失效.
|
|
||||||
fs: zhFsLocale.fs,
|
|
||||||
...zh
|
...zh
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,7 +3,7 @@ import App from "./App.vue";
|
||||||
import router from "./router";
|
import router from "./router";
|
||||||
import Antd from "ant-design-vue";
|
import Antd from "ant-design-vue";
|
||||||
import "./style/common.less";
|
import "./style/common.less";
|
||||||
import "./mock";
|
// import "./mock";
|
||||||
import i18n from "./i18n";
|
import i18n from "./i18n";
|
||||||
import store from "./store";
|
import store from "./store";
|
||||||
import components from "./components";
|
import components from "./components";
|
||||||
|
|
Loading…
Reference in New Issue