-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* perf: 小优化 * docs: 添加服务端启动教程 * docs: 更新本地服务上传图片失败问题处理方案 * fix: 构建预览页面实时预览,布局错乱 * fix: 处理warning * fix: 注册成功后登录模块的输入框无法输入 * fix: node创建多级文件夹报错 * perf: 优化模板分页,提高用户体验 * docs: update docs * fix: 模板页面分页布局优化 * feat: platform-electron * fix: 删除多余文件 * fix: 修复electron schema生成器组件不显示问题 * feat: 增加tray菜单以及优化tray * fix: tray优化 * feat: 增加开机自启设置 --------- Co-authored-by: 雨尽阑珊 <[email protected]>
- Loading branch information
1 parent
3317626
commit 2a46177
Showing
5 changed files
with
73 additions
and
49 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
95 changes: 48 additions & 47 deletions
95
packages/mall-cook-platform-electron/src/render/components/Control/ControlConfig.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,49 @@ | ||
<!-- | ||
* @Description: 物料属性面板 | ||
* @Autor: WangYuan | ||
* @Date: 2022-01-13 15:31:38 | ||
* @LastEditors: June | ||
* @LastEditTime: 2023-03-10 01:32:15 | ||
--> | ||
<template> | ||
<div class="Config"> | ||
<config-ctn | ||
v-if="control.curWidget" | ||
:title="control.curWidget.name" | ||
> | ||
<custom-schema-template | ||
:schema="curSchema" | ||
v-model="control.curWidget" | ||
></custom-schema-template> | ||
</config-ctn> | ||
|
||
<config-ctn v-else title="页面配置"> | ||
<page-config></page-config> | ||
</config-ctn> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import PageConfig from "@/components/PageConfig/index.vue"; | ||
export default { | ||
components: { | ||
PageConfig | ||
}, | ||
|
||
inject: ["control"], | ||
|
||
computed: { | ||
curSchema() { | ||
console.log('curSchema'); | ||
console.log(this.control.curWidget); | ||
|
||
|
||
return this.$fields[this.control.curWidget.component]; | ||
}, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style lang='scss'> | ||
<!-- | ||
* @Description: 物料属性面板 | ||
* @Autor: WangYuan | ||
* @Date: 2022-01-13 15:31:38 | ||
* @LastEditors: June | ||
* @LastEditTime: 2023-05-17 00:05:23 | ||
--> | ||
<template> | ||
<div class="Config"> | ||
<config-ctn | ||
v-if="control.curWidget" | ||
:title="control.curWidget.name" | ||
> | ||
<custom-schema-template | ||
:schema="curSchema" | ||
v-model="control.curWidget" | ||
:key="control.curWidget.id" | ||
></custom-schema-template> | ||
</config-ctn> | ||
|
||
<config-ctn v-else title="页面配置"> | ||
<page-config></page-config> | ||
</config-ctn> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import PageConfig from "@/components/PageConfig/index.vue"; | ||
export default { | ||
components: { | ||
PageConfig | ||
}, | ||
|
||
inject: ["control"], | ||
|
||
computed: { | ||
curSchema() { | ||
console.log('curSchema'); | ||
console.log(this.control.curWidget); | ||
|
||
|
||
return this.$fields[this.control.curWidget.component]; | ||
}, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style lang='scss'> | ||
</style> |