zydx-plus 1.32.275 → 1.32.276
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 +1 -1
- package/src/components/word/src/word.vue +7 -0
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -54,6 +54,9 @@
|
|
|
54
54
|
<button class="but" :class="{'buts-actives': item.review}"
|
|
55
55
|
@click="review(index)">{{ item.review ? reasoningBut[1].startName : reasoningBut[1].endName }}</button>
|
|
56
56
|
</b>
|
|
57
|
+
<b :style="{right: -item.right + 'px', top: item.top + 'px'}" v-if="customBut.length > 0" ref="b">
|
|
58
|
+
<button class="but" v-for="(item,index) in customBut" :class="{'buts-actives': item.active}" @click="item.onClick(item)">{{ item.name }}</button>
|
|
59
|
+
</b>
|
|
57
60
|
</i>
|
|
58
61
|
</span>
|
|
59
62
|
</div>
|
|
@@ -217,6 +220,10 @@ export default {
|
|
|
217
220
|
nothing: {
|
|
218
221
|
type: Boolean,
|
|
219
222
|
default: false
|
|
223
|
+
},
|
|
224
|
+
customBut:{
|
|
225
|
+
type: Array,
|
|
226
|
+
default: []
|
|
220
227
|
}
|
|
221
228
|
},
|
|
222
229
|
watch: {
|