askbot-dragon 1.4.43 → 1.4.45

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.4.43",
3
+ "version": "1.4.45",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -321,7 +321,7 @@ export default {
321
321
 
322
322
  .ad-list {
323
323
  .ad-list-cell {
324
- border-top: solid 1px #E0E6F7;
324
+ border-top: solid 1px #EEEEEE;
325
325
  padding: 10px 0 10px;
326
326
 
327
327
  .alc-title {
@@ -84,7 +84,7 @@
84
84
 
85
85
  <script>
86
86
  import pdfPosition from './pdfPosition.vue'
87
- // import { zoomElement } from '../assets/js/hammer'
87
+ import { zoomElement } from '../assets/js/hammer'
88
88
  export default {
89
89
  data () {
90
90
  return {
@@ -99,7 +99,6 @@ export default {
99
99
  }
100
100
  },
101
101
  mounted() {
102
- // zoomElement(document.getElementById('drawer_content_pre'))
103
102
  },
104
103
  props:{
105
104
  url:{
@@ -118,6 +117,15 @@ export default {
118
117
  components:{
119
118
  pdfPosition
120
119
  },
120
+ watch:{
121
+ drawer(value) {
122
+ if(value) {
123
+ this.$nextTick(() =>{
124
+ zoomElement(document.getElementById('drawer_content_pre'))
125
+ })
126
+ }
127
+ }
128
+ },
121
129
  computed:{
122
130
  previewUrl() {
123
131
  console.debug('VUE_APP_ENV',process.env.VUE_APP_ENV)