@netang/quasar 0.0.44 → 0.0.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.
@@ -102,7 +102,7 @@ export default {
102
102
  required: true,
103
103
  },
104
104
  // 格式化已选表格的数据并返回渲染组件参数
105
- format: Function,
105
+ renderQuery: Function,
106
106
  // 工具提示
107
107
  tooltip: {
108
108
  type: String,
@@ -139,9 +139,9 @@ export default {
139
139
  // 如果有已选数据
140
140
  if (
141
141
  currentSelectedItem.value
142
- && _.isFunction(props.format)
142
+ && _.isFunction(props.renderQuery)
143
143
  ) {
144
- const res = props.format(currentSelectedItem.value)
144
+ const res = props.renderQuery(currentSelectedItem.value)
145
145
  if (utils.isValidObject(res)) {
146
146
 
147
147
  // 格式化已选数据, 并返回参数
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netang/quasar",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "description": "netang-quasar",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"