Skip to content

Commit

Permalink
chore: 升级版本
Browse files Browse the repository at this point in the history
  • Loading branch information
HunterXing committed Jun 13, 2023
1 parent 6cf9985 commit eed6eb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gc-starter-bigscreen-ui",
"version": "0.0.1-2023060801-Alpha",
"version": "0.0.1-2023061301-Alpha",
"description": "自定义大屏",
"author": "gc-starter",
"license": "MIT",
Expand Down
9 changes: 1 addition & 8 deletions packages/RemoteComponents/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,7 @@ export default {
// 同步配置
synchConfig (option, setting) {
// 对比this.config.setting 和 setting,进行合并,数据以this.config.option对象的value为准
const _setting = _.cloneDeep(setting)
this.config.setting.forEach(set => {
const newSet = _setting.find(item => item.field === set.field)
if (newSet) {
newSet.value = set.value
}
})
this.config.setting = _setting
// TODO
}
}
}
Expand Down

0 comments on commit eed6eb0

Please sign in to comment.