Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
jml0128
/
xrk-bi
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 37760168
authored
Jul 14, 2021
by
jml0128
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
1 parent
8138f260
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
package.json
src/packages/bi/src/components/cover.vue
src/packages/bi/src/mixin/project.js
package.json
View file @
3776016
{
{
"name"
:
"xrk-bi"
,
"name"
:
"xrk-bi"
,
"version"
:
"0.1.
8
"
,
"version"
:
"0.1.
10
"
,
"description"
:
"xrk-bi"
,
"description"
:
"xrk-bi"
,
"author"
:
"xrk"
,
"author"
:
"xrk"
,
"main"
:
"dist/bundler.js"
,
"main"
:
"dist/bundler.js"
,
...
...
src/packages/bi/src/components/cover.vue
View file @
3776016
...
@@ -291,7 +291,7 @@ export default {
...
@@ -291,7 +291,7 @@ export default {
&
_input
{
&
_input
{
border
:
1px
dashed
rgba
(
$
color
:
#ffffff
,
$
alpha
:
0.5
);
border
:
1px
dashed
rgba
(
$
color
:
#ffffff
,
$
alpha
:
0.5
);
line-height
:
1.5
;
line-height
:
1.5
;
color
:
#
fff
;
color
:
#
4b4b4b
;
outline
:
none
;
outline
:
none
;
word-break
:
break-all
;
word-break
:
break-all
;
width
:
726px
;
width
:
726px
;
...
...
src/packages/bi/src/mixin/project.js
View file @
3776016
...
@@ -38,6 +38,10 @@ export default {
...
@@ -38,6 +38,10 @@ export default {
},
},
preloadImg
(
url
)
{
preloadImg
(
url
)
{
return
new
Promise
(
resolve
=>
{
return
new
Promise
(
resolve
=>
{
if
(
!
url
)
{
resolve
(
'load fail'
);
return
;
}
const
img
=
new
Image
();
const
img
=
new
Image
();
img
.
src
=
url
;
img
.
src
=
url
;
img
.
onload
=
()
=>
{
img
.
onload
=
()
=>
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment