mooho-base-admin-plus 2.4.21 → 2.4.23

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,7 +1,7 @@
1
1
  {
2
2
  "name": "mooho-base-admin-plus",
3
3
  "description": "MOOHO basic framework for admin by Vue3",
4
- "version": "2.4.21",
4
+ "version": "2.4.23",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -357,7 +357,7 @@
357
357
  <Col v-bind="grid8">
358
358
  <FormItem label="默认值" key="defaultValue" prop="defaultValue">
359
359
  <Input type="text" v-model="data.defaultValue" maxlength="200" style="width: 150px" />
360
- <Dropdown style="margin-left: 8px" transfer="true" @on-click="selectDefault">
360
+ <Dropdown style="margin-left: 8px" :transfer="true" @on-click="selectDefault">
361
361
  <Button type="primary" size="small">
362
362
  <Icon type="ios-arrow-down" />
363
363
  </Button>
@@ -219,7 +219,7 @@
219
219
  <Col v-bind="grid8">
220
220
  <FormItem label="默认值" key="defaultValue" prop="defaultValue">
221
221
  <Input type="text" v-model="data.defaultValue" maxlength="200" style="width: 150px" />
222
- <Dropdown style="margin-left: 8px" transfer="true" @on-click="selectDefault">
222
+ <Dropdown style="margin-left: 8px" :transfer="true" @on-click="selectDefault">
223
223
  <Button type="primary" size="small">
224
224
  <Icon type="ios-arrow-down" />
225
225
  </Button>
@@ -1326,6 +1326,14 @@
1326
1326
  */
1327
1327
  this.$emit('on-load-data');
1328
1328
 
1329
+ /**
1330
+ * 数据变化事件
1331
+ * @property {object} data 行对象
1332
+ * @property {object} sender 触发的列对象
1333
+ * @property {object} selected 选中对象(弹出选择框等有效)
1334
+ */
1335
+ this.$emit('on-change', null, null, null);
1336
+
1329
1337
  // 刷新表头控件
1330
1338
  if (this.$refs.tableFilter) {
1331
1339
  //this.$refs.tableFilter.$forceUpdate();
@@ -549,7 +549,7 @@ export default {
549
549
 
550
550
  let data = null;
551
551
  try {
552
- console.log('expression', result);
552
+ console.log('expression', text, result);
553
553
  data = eval(result);
554
554
 
555
555
  if (data != 'NaN' && String(data) == 'NaN') {