Browse Source

Pull request #3617: JSY-31395 & 打包问题

Merge in VISUAL/fineui from ~FAY/fineui:master to master

* commit '7f22f4e32c355f172c304d73f24ac3078e04a73e':
  JSY-31395
  打包问题
  JSY-31395 & 打包问题
research/test
fay-李丰豪 1 year ago
parent
commit
256145b081
  1. 1
      package.json
  2. 2
      packages/fineui/src/base/single/input/input.js
  3. 2293
      pnpm-lock.yaml

1
package.json

@ -41,6 +41,7 @@
"less-loader": "^11.1.0", "less-loader": "^11.1.0",
"mini-css-extract-plugin": "^2.7.5", "mini-css-extract-plugin": "^2.7.5",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"prettier": "^3.0.0",
"postcss": "^8.4.21", "postcss": "^8.4.21",
"postcss-loader": "^7.1.0", "postcss-loader": "^7.1.0",
"style-loader": "^3.3.1", "style-loader": "^3.3.1",

2
packages/fineui/src/base/single/input/input.js

@ -144,7 +144,7 @@ export class Input extends Single {
_blur() { _blur() {
const blur = () => { const blur = () => {
if (!this.isValid() && this.options.quitChecker.apply(this, [trim(this.getValue())]) !== false) { if (!this.isValid() && this.options.quitChecker.apply(this, [trim(this.getValue())]) !== false) {
this.element.val(this._lastValidValue ? this._lastValidValue : ""); this.element.val(this._lastValidValue ?? this.options.value ?? "");
this._checkValidationOnValueChange(); this._checkValidationOnValueChange();
this._defaultState(); this._defaultState();
} }

2293
pnpm-lock.yaml

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save