w-ui-v1 1.0.47 → 1.0.49

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/index.ts CHANGED
@@ -16,6 +16,7 @@ import WAudio from './w-audio/w-audio.vue'
16
16
  import WReportTable from './w-report-table/w-report-table.vue'
17
17
  import WFormControlVue from './w-form-control/w-form-control.vue'
18
18
  import {menu} from './utils/apis/menu'
19
+ import request from './utils/http'
19
20
  const coms: any[] = [
20
21
  wTest,
21
22
  wLogin,
@@ -41,6 +42,7 @@ function install(Vue: App) {
41
42
  })
42
43
  }
43
44
  export const api={
45
+ request,
44
46
  menu
45
47
  }
46
48
  export default install // 这个方法以后再使用的时候可以被vue.use调用
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "w-ui-v1",
3
- "version": "1.0.47",
3
+ "version": "1.0.49",
4
4
  "description": "w-ui",
5
5
  "author": "wgxshh",
6
6
  "license": "ISC",
package/w-card/w-card.vue CHANGED
@@ -263,8 +263,8 @@ const getTitleValue = (value: any, title: string) => {
263
263
  </view>
264
264
  </view>
265
265
 
266
- <view v-else class="value">
267
- {{ item.content?.label ? item.content?.label : item.content }}
266
+ <view v-else class="value" v-html="item.content?.label ? item.content?.label : item.content">
267
+
268
268
  </view>
269
269
 
270
270
  </view>
@@ -167,11 +167,10 @@ function goto(type = '', PItem: any, item: any) {
167
167
  <text> {{ bItem.label }}</text>
168
168
  </view>
169
169
  </view>
170
- <view v-else class="value">
171
- {{
172
- getValue(pageData.fieldMap[subItem.sourceId], subItem.title)?.label ?
170
+ <view v-else class="value" v-html="getValue(pageData.fieldMap[subItem.sourceId], subItem.title)?.label ?
173
171
  getValue(pageData.fieldMap[subItem.sourceId], subItem.title)?.label :
174
- getValue(pageData.fieldMap[subItem.sourceId], subItem.title) }}
172
+ getValue(pageData.fieldMap[subItem.sourceId], subItem.title)">
173
+
175
174
  </view>
176
175
 
177
176
  </view>