askbot-dragon 1.5.25-beta → 1.5.27-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "1.5.25-beta",
3
+ "version": "1.5.27-beta",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -2045,7 +2045,7 @@ export default {
2045
2045
  } else {
2046
2046
  let d = document.createElement('div')
2047
2047
  d.innerHTML = this.workOrderDestail.value
2048
- if (!d.innerText) {
2048
+ if (!d.innerText.trim()) {
2049
2049
  textFlag = false
2050
2050
  }
2051
2051
  d = null
@@ -368,7 +368,7 @@ export default {
368
368
  }
369
369
  textLayer.setTextContent(textContent);
370
370
  textLayer.render()
371
- pageDom.appendChild(textLayer.textLayerDiv);
371
+ pageDom.appendChild(textLayerDiv);
372
372
 
373
373
  let backgroundDom = document.getElementById('backgroundLoad' + pageNo)
374
374
  if (backgroundDom) {
@@ -200,6 +200,10 @@ export default {
200
200
  width: 100%;
201
201
  height: calc(100% - 60px);
202
202
  box-sizing: border-box;
203
+ background-image: url('https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/images/loading.gif');
204
+ background-position: center;
205
+ background-size: 50px;
206
+ background-repeat: no-repeat;
203
207
  }
204
208
  .preview_iframe_html{
205
209
  width: 100%;