This commit is contained in:
parent
6aee92f8d4
commit
d927e1ed9f
1 changed files with 8 additions and 8 deletions
|
@ -107,10 +107,10 @@ export const newFile = (optios: {
|
|||
openFileById({
|
||||
app: optios.app,
|
||||
id: response.data,
|
||||
action: [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]
|
||||
action: [Constants.CB_GET_CONTEXT]
|
||||
});
|
||||
/// #else
|
||||
openMobileFileById(optios.app, response.data, [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]);
|
||||
openMobileFileById(optios.app, response.data, [Constants.CB_GET_CONTEXT]);
|
||||
/// #endif
|
||||
});
|
||||
} else {
|
||||
|
@ -128,10 +128,10 @@ export const newFile = (optios: {
|
|||
openFileById({
|
||||
app: optios.app,
|
||||
id: response.data,
|
||||
action: [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]
|
||||
action: [Constants.CB_GET_CONTEXT]
|
||||
});
|
||||
/// #else
|
||||
openMobileFileById(optios.app, response.data, [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]);
|
||||
openMobileFileById(optios.app, response.data, [Constants.CB_GET_CONTEXT]);
|
||||
/// #endif
|
||||
});
|
||||
});
|
||||
|
@ -151,10 +151,10 @@ export const newFile = (optios: {
|
|||
openFileById({
|
||||
app: optios.app,
|
||||
id: response.data,
|
||||
action: [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]
|
||||
action: [Constants.CB_GET_CONTEXT]
|
||||
});
|
||||
/// #else
|
||||
openMobileFileById(optios.app, response.data, [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]);
|
||||
openMobileFileById(optios.app, response.data, [Constants.CB_GET_CONTEXT]);
|
||||
/// #endif
|
||||
});
|
||||
return;
|
||||
|
@ -173,9 +173,9 @@ export const newFile = (optios: {
|
|||
sorts: optios.paths
|
||||
}, () => {
|
||||
/// #if !MOBILE
|
||||
openFileById({app: optios.app, id, action: [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]});
|
||||
openFileById({app: optios.app, id, action: [Constants.CB_GET_CONTEXT]});
|
||||
/// #else
|
||||
openMobileFileById(optios.app, id, [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]);
|
||||
openMobileFileById(optios.app, id, [Constants.CB_GET_CONTEXT]);
|
||||
/// #endif
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue