Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
高东东-金蝶建发
/
jf-yzj-resume
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8d926c4e
authored
Aug 30, 2024
by
zhongqm
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update:app.js新加方法
parent
f140607d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
src/js/lib/app.js
src/js/lib/app.js
View file @
8d926c4e
...
...
@@ -92,7 +92,16 @@ const app = {
},
saveToGallery
(
url
)
{
return
app
.
callApi
(
MODULE_NAMES
.
MIDEA_COMMON
,
'saveToGallery'
,
[
url
])
}
},
openUrl
:
function
(
url
)
{
return
app
.
callApi
(
MODULE_NAMES
.
MIDEA_COMMON
,
'openSysBrowser'
,
[
url
])
},
showPdf
:
function
(
param
)
{
return
app
.
callApi
(
MODULE_NAMES
.
MIDEA_PDF
,
'showPdf'
,
param
)
},
showTxt
:
function
(
param
)
{
return
app
.
callApi
(
MODULE_NAMES
.
MIDEA_PDF
,
'showTxt'
,
param
)
},
}
export
default
app
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment