fix:修复误上报空间id和显示逻辑问题 (#320)
* --story=1059873 --user=T8罗佳明 【ALL】2024年06月日常优化 https://www.tapd.cn/23402991/s/2202857 * feat:答卷白名单功能 * fix:修复lint问题 * fix:提交问卷时添加verifyId参数 * fix:去掉上报空间id * fix:line代码
This commit is contained in:
parent
5a8e821159
commit
d31f6178c0
@ -29,7 +29,7 @@ const defaultProps = {
|
||||
|
||||
const handleChange = () => {
|
||||
const key = props.formConfig.key;
|
||||
const userKeys = treeRef.value?.getCheckedKeys(false);
|
||||
const userKeys = treeRef.value?.getCheckedKeys(true);
|
||||
emit(FORM_CHANGE_EVENT_KEY, { key: key, value: userKeys });
|
||||
}
|
||||
|
||||
@ -43,9 +43,13 @@ const selectCount = computed(() => {
|
||||
return treeRef.value?.getCheckedKeys(true).length || 0
|
||||
})
|
||||
|
||||
const spaceMenus = computed(() => {
|
||||
return store.state.list.spaceMenus
|
||||
})
|
||||
|
||||
const getSpaceMenus = async () => {
|
||||
await store.dispatch('list/getSpaceList')
|
||||
store.state?.list?.spaceMenus.map((v) => {
|
||||
spaceMenus.value.map((v) => {
|
||||
if (v.id == "group") {
|
||||
const promiseList = []
|
||||
v.children?.map((item) => {
|
||||
|
Loading…
Reference in New Issue
Block a user