| | |
| | | if ((res as any).code == 200) { |
| | | // Reflect.deleteProperty(tabData.value, tabKey.value); |
| | | queryModel(); |
| | | Message.success('删除成功'); |
| | | } |
| | | }; |
| | | |
| | |
| | | const res = await modelmyLlms(); |
| | | modalList.value = res.data; |
| | | loading.value = true; |
| | | tabData.value = Object.assign({}, tabData.value, res.data); |
| | | tabData.value = filterObject(tabData.value, 1); |
| | | // tabData.value = Object.assign({}, tabData.value, res.data); |
| | | |
| | | tabData.value = filterObject(res.data, 1); |
| | | tabKey.value = Object.keys(tabData.value)[0]; |
| | | await getFactory(); |
| | | }; |
| | |
| | | }, {}); |
| | | }; |
| | | |
| | | const refreshParentMethod = () => { |
| | | queryModel(); |
| | | const refreshParentMethod = async (name) => { |
| | | // console.log(name, 678776); |
| | | await queryModel(); |
| | | // tabKey.value = name; |
| | | // 这里执行需要的操作 |
| | | }; |
| | | |