zydx-plus 1.35.483 → 1.35.485

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": "zydx-plus",
3
- "version": "1.35.483",
3
+ "version": "1.35.485",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -6,8 +6,8 @@
6
6
  @mouseup.stop="mouseup"
7
7
  @mouseleave.stop="mousemove" :style="{'text-align': title === ''? 'center':'left'}" v-html="title"></span>
8
8
  <div class="drag-i">
9
- <i class="minimize-cir" v-if="minimizeCir" @click.stop="minimizeTap"></i>
10
- <i class="minimize" v-if="minimize" @click.stop="minimizeTap"></i>
9
+ <!-- <i class="minimize-cir" v-if="minimizeCir" @click.stop="minimizeTap"></i>-->
10
+ <!-- <i class="minimize" v-if="minimize" @click.stop="minimizeTap"></i>-->
11
11
  <slot name="icon"></slot>
12
12
  <i class="disconnect" v-if="disconnectShow" @click.stop="disconnect"></i>
13
13
  <i class="enlarge" v-if="enlargeShow" @click.stop="enlarge"></i>
@@ -31,8 +31,8 @@
31
31
  :editor="editor"
32
32
  :tippy-options="{ duration: 100}"
33
33
  :shouldShow="shouldShowFn"
34
- v-if="editor && readOnly"
35
- v-show="showBubble"
34
+ v-if="editor"
35
+ v-show="showBubble && readOnly"
36
36
  >
37
37
  <div class="bubbleMenu">
38
38
  <div class="line">
@@ -867,8 +867,6 @@ export default {
867
867
  toolTap(v) {
868
868
  // 获取当前选中的节点
869
869
  const {$anchor} = this.editor.state.selection
870
- console.log(this.editor.chain().focus());
871
- console.log($anchor);
872
870
  if ($anchor.path[3].attrs.titleId === 'source') {
873
871
  let html = this.editor.getHTML()
874
872
  html += '<p></p>'
@@ -1075,6 +1073,7 @@ export default {
1075
1073
  flex: 1;
1076
1074
  text-align: left;
1077
1075
  font-size: 16px;
1076
+ min-width: 70px;
1078
1077
  }
1079
1078
 
1080
1079
  .enclosure-list {
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="tabs cl" :ref="`tabs${id}`" :style="{'text-align': heiStart? 'left': 'center'}">
3
- <div class="tabs-li" :class="{'tab-active theme-text': actives === index, 'defaultDisableButton': isDisableTab && !isOtherModule(item) && !item.alive}" @click="listTap(index)"
3
+ <div class="tabs-li" :class="{'tab-active theme-text': actives === index, 'tabsliDisableStyle': isDisableTab && !isOtherModule(item) && !item.alive}" @click="listTap(index)"
4
4
  v-for="(item,index) in list" :key="index" v-html="item[column[0]]"></div>
5
5
  <!-- <div v-if="addShow" @click="addTap" class="tabs-li tab-add">+</div>-->
6
6
  </div>
@@ -98,21 +98,8 @@ export default {
98
98
  </script>
99
99
 
100
100
  <style scoped>
101
- .defaultDisableButton {
102
- width: auto;
103
- min-width: 60px;
104
- height: 20px;
105
- font-size: 12px;
106
- line-height: 20px;
107
- color: #717171 !important;
108
- border: #717171 1px solid !important;
109
- border-radius: 3px;
110
- text-align: center;
111
- cursor: pointer;
112
- background-color: #fff;
113
- user-select: none;
114
- margin: 1px;
115
- box-sizing: border-box;
101
+ .tabsliDisableStyle {
102
+ color: rgba(51,51,51,0.5) !important;
116
103
  pointer-events: none !important;
117
104
  /*禁止点击*/
118
105
  }
package/src/index.js CHANGED
@@ -87,7 +87,7 @@ function install(app) {
87
87
  }
88
88
 
89
89
  export default {
90
- version: '1.35.483',
90
+ version: '1.35.485',
91
91
  install,
92
92
  Calendar,
93
93
  Message,