新版UI适配

This commit is contained in:
yuebenshan committed 2022-08-05 09:25:31 +08:00
1 parent b895aacc76
commit 6d71c7b35e
4 files changed
+40 -30

No files matched your search

+8
View File
@@ -130,11 +130,19 @@ new Vue({
// startCreateItem
async clearItemData() {
if(this.isMobile) {
window.vtoast.fail({message: '该功能只能在电脑使用'})
return false;
}
window.location.href = `/${window.appInfo.appId}/page/workflowEditor?type=add`;
},
// startUpdateItem
async prepareItemData({item}) {
if(this.isMobile) {
window.vtoast.fail({message: '该功能只能在电脑使用'})
return false;
}
sessionStorage.setItem('workflowEditItem', JSON.stringify(item))
window.location.href = `/${window.appInfo.appId}/page/workflowEditor?type=edit`;
},