@truenewx/tnxvue3 3.0.1 → 3.0.2

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": "@truenewx/tnxvue3",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "互联网技术解决方案:Vue3扩展支持",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -25,7 +25,7 @@
25
25
  "vue-router": "~4.4.0"
26
26
  },
27
27
  "dependencies": {
28
- "@truenewx/tnxcore": "3.0.1",
28
+ "@truenewx/tnxcore": "3.0.2",
29
29
  "@element-plus/icons-vue": "2.3.1",
30
30
  "async-validator": "4.2.5",
31
31
  "mitt": "3.0.1"
@@ -1,7 +1,7 @@
1
1
  <template>
2
- <div class="spinner-border" :class="extraClass" role="status">
2
+ <span class="spinner-border" :class="extraClass" role="status">
3
3
  <span class="visually-hidden">{{ text }}</span>
4
- </div>
4
+ </span>
5
5
  </template>
6
6
 
7
7
  <script>
@@ -20,7 +20,9 @@
20
20
  </template>
21
21
  </BDropdownItem>
22
22
  </template>
23
- <Loading v-else/>
23
+ <BDropdownItem v-else>
24
+ <Loading/>
25
+ </BDropdownItem>
24
26
  </BDropdown>
25
27
  <BFormSelect class="tnxbsv-select"
26
28
  v-model="model"
@@ -46,7 +48,9 @@
46
48
  </template>
47
49
  </template>
48
50
  </BFormSelect>
49
- <Loading v-else/>
51
+ <div class="flex-v-center" v-else>
52
+ <Loading/>
53
+ </div>
50
54
  </template>
51
55
 
52
56
  <script>
package/src/tnxvue.js CHANGED
@@ -3,6 +3,7 @@
3
3
  * 基于Vue 3的扩展支持
4
4
  */
5
5
  import tnxcore from '@truenewx/tnxcore';
6
+ // import tnxcore from '../../core/src/tnxcore';
6
7
  import validator from './tnxvue-validator';
7
8
  import createRouter from './tnxvue-router';
8
9
  import Text from './text/Text.vue';