vue2-client 1.9.129 → 1.9.130

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": "vue2-client",
3
- "version": "1.9.129",
3
+ "version": "1.9.130",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -561,6 +561,11 @@ export default {
561
561
  // 修改他的列宽
562
562
  this.tableColumns[ColumnIndex].width = 220
563
563
  }
564
+ // 如果有检验规则检验是数字
565
+ if (ColumnIndex !== -1 && ['number', 'integer', 'float'].includes(tempConfig?.rule?.type)) {
566
+ // 修改他的列宽
567
+ tempConfig.numberInput = true
568
+ }
564
569
  if (tempConfig.editRowShowFunc) {
565
570
  if (executeStrFunctionByContext(this, tempConfig.editRowShowFunc, [text, record, index, tempConfig])) {
566
571
  return tempConfig