新版UI适配
This commit is contained in:
1 parent
b895aacc76
commit
6d71c7b35e
4 files changed
+40
-30
No files matched your search
@@ -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`;
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user