Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
swx_weapp
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-10-28 14:15:59 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c4956be76297018da498face4a1dd71305087777
c4956be7
1 parent
51fb9e34
fix 编辑主办方类型和状态数据还原修复
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
src/pages/editProject/index.vue
src/pages/editProject/index.vue
View file @
c4956be
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-10-2
4 09:47:06
* @LastEditTime: 2022-10-2
8 14:13:19
* @FilePath: /swx/src/pages/editProject/index.vue
* @Description: 新建主办方页面
-->
...
...
@@ -112,8 +112,21 @@ import { randomId } from '@/utils/tools'
onMounted(async () => {
const { code, data } = await hostInfoAPI({ i: getCurrentPageParam().id });
if (code) {
console.warn(data);
name.value = data.name
name.value = data.name;
data.user_type.forEach(item => {
userType.value.push({
key: randomId(5),
label: item,
checked: 1,
});
})
data.user_status.forEach(item => {
userStatus.value.push({
key: randomId(5),
label: item,
checked: 1,
});
})
}
})
...
...
Please
register
or
login
to post a comment