diff --git a/GoEasyDesigner/app.go b/GoEasyDesigner/app.go index 4d90771..33bdc55 100644 --- a/GoEasyDesigner/app.go +++ b/GoEasyDesigner/app.go @@ -31,6 +31,7 @@ func NewApp() *App { go func() { a.文件监视.E开始() }() + return a } diff --git "a/GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/TimeProgressBar/TimeProgressBar.js" "b/GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/TimeProgressBar/TimeProgressBar.js" new file mode 100644 index 0000000..d0ae578 --- /dev/null +++ "b/GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/TimeProgressBar/TimeProgressBar.js" @@ -0,0 +1,16 @@ +export default { + top: "0", + left: "0", + width: "200", + height: "30", + noPlace: true, + + visible: true, + disable: false, + size: "custom", + zIndex: 0, + min: 0, + max: 100, + step: 1, + n: 0, +} diff --git "a/GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/TimeProgressBar/TimeProgressBar.vue" "b/GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/TimeProgressBar/TimeProgressBar.vue" new file mode 100644 index 0000000..32382be --- /dev/null +++ "b/GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/TimeProgressBar/TimeProgressBar.vue" @@ -0,0 +1,41 @@ + + + \ No newline at end of file diff --git "a/GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/TimeProgressBar/TimeProgressBarAttr.vue" "b/GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/TimeProgressBar/TimeProgressBarAttr.vue" new file mode 100644 index 0000000..ef7338f --- /dev/null +++ "b/GoEasyDesigner/frontend/public/\350\207\252\345\256\232\344\271\211\347\273\204\344\273\266/TimeProgressBar/TimeProgressBarAttr.vue" @@ -0,0 +1,77 @@ + + \ No newline at end of file diff --git a/GoEasyDesigner/frontend/src/app11.vue b/GoEasyDesigner/frontend/src/app11.vue index 284f4e7..dd3df39 100644 --- a/GoEasyDesigner/frontend/src/app11.vue +++ b/GoEasyDesigner/frontend/src/app11.vue @@ -256,7 +256,7 @@ if (localStorage.getItem("locale")) { } const onclickLanguageHandle = (item) => { - item !== locale.value ? (locale.value = item) : false; + item !== locale.value ? (locale.vaEventsOnlue = item) : false; //写入本地存储 localStorage.setItem("locale", item); }; diff --git a/GoEasyDesigner/frontend/src/components/boxs/el/ProgressBar/ProgressBar.js b/GoEasyDesigner/frontend/src/components/boxs/el/ProgressBar/ProgressBar.js index 023c897..d0ae578 100644 --- a/GoEasyDesigner/frontend/src/components/boxs/el/ProgressBar/ProgressBar.js +++ b/GoEasyDesigner/frontend/src/components/boxs/el/ProgressBar/ProgressBar.js @@ -9,8 +9,8 @@ export default { disable: false, size: "custom", zIndex: 0, - min:0, - max:100, - step:1, - n:0, + min: 0, + max: 100, + step: 1, + n: 0, } diff --git a/GoEasyDesigner/frontend/src/components/boxs/el/ProgressBar/ProgressBar.vue b/GoEasyDesigner/frontend/src/components/boxs/el/ProgressBar/ProgressBar.vue index 0f606a0..28c9ec4 100644 --- a/GoEasyDesigner/frontend/src/components/boxs/el/ProgressBar/ProgressBar.vue +++ b/GoEasyDesigner/frontend/src/components/boxs/el/ProgressBar/ProgressBar.vue @@ -1,26 +1,29 @@ - + + \ No newline at end of file diff --git a/GoEasyDesigner/frontend/src/main.js b/GoEasyDesigner/frontend/src/main.js index dc6bcbc..99a491a 100644 --- a/GoEasyDesigner/frontend/src/main.js +++ b/GoEasyDesigner/frontend/src/main.js @@ -2,7 +2,7 @@ import './assets/main.css' import {createApp} from 'vue' import {createPinia} from 'pinia' -// import ElementPlus from 'element-plus' +import ElementPlus from 'element-plus' import 'element-plus/dist/index.css' // import TDesign from 'tdesign-vue-next' @@ -56,7 +56,12 @@ let 自定义组件名称列表 = [] 组件路径: "./自定义组件/登录框/登录框.vue", 组件默认属性: "./自定义组件/登录框/登录框.js", 组件属性框: "./自定义组件/登录框/登录框属性.vue", - +}) +自定义组件名称列表.push({ + componentName: "TimeProgressBar", + 组件路径: "./自定义组件/TimeProgressBar/TimeProgressBar.vue", + 组件默认属性: "./自定义组件/TimeProgressBar/TimeProgressBar.js", + 组件属性框: "./自定义组件/TimeProgressBar/TimeProgressBarAttr.vue", }) console.log("自定义组件名称列表", JSON.stringify(自定义组件名称列表)) app.config.globalProperties.自定义组件名称列表 = 自定义组件名称列表 @@ -194,7 +199,7 @@ app.config.globalProperties.t = i18n.global.t app.use(i18n) // app.use(TDesign) -// app.use(ElementPlus) +app.use(ElementPlus) app.mount('#app')