Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2022-12-08 14:37:42 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5a03e8a65d64fa87ea6191e235da918af577ede2
5a03e8a6
1 parent
2bae31e7
描述文本控件联调
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
src/components/DesField/index.vue
src/views/index.vue
src/components/DesField/index.vue
View file @
5a03e8a
<!--
* @Date: 2022-08-29 14:31:20
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-1
1-22 13:56:17
* @LastEditTime: 2022-1
2-08 14:37:28
* @FilePath: /data-table/src/components/DesField/index.vue
* @Description: 描述文本
* @Description: 描述文本
控件
-->
<template>
<div class="des-field-page">
...
...
@@ -15,6 +15,7 @@
:border="false"
/>
</div>
<van-divider />
</template>
<script setup>
...
...
src/views/index.vue
View file @
5a03e8a
<!--
* @Date: 2022-07-18 10:22:22
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-12-0
7 16:57:12
* @LastEditTime: 2022-12-0
8 14:21:21
* @FilePath: /data-table/src/views/index.vue
* @Description: 首页
-->
...
...
@@ -146,7 +146,10 @@ const formatData = (data) => {
field.property_list.forEach((prop) => {
const key = prop["property_code"];
const obj = {
[key]: prop["setting_value"],
[key]:
key !== 'label'
? prop["setting_value"]
: prop["setting_value"][0],
};
Object.assign(component_props, obj);
});
...
...
Please
register
or
login
to post a comment