Commit 37760168 by jml0128

fix

1 parent 8138f260
{
"name": "xrk-bi",
"version": "0.1.8",
"version": "0.1.10",
"description": "xrk-bi",
"author": "xrk",
"main": "dist/bundler.js",
......
......@@ -291,7 +291,7 @@ export default {
&_input {
border: 1px dashed rgba($color: #ffffff, $alpha: 0.5);
line-height: 1.5;
color: #fff;
color: #4b4b4b;
outline: none;
word-break: break-all;
width: 726px;
......
......@@ -38,6 +38,10 @@ export default {
},
preloadImg(url) {
return new Promise(resolve => {
if (!url) {
resolve('load fail');
return;
}
const img = new Image();
img.src = url;
img.onload = () => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!