Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

value 参数 取 <input>的value 参数更好。。 #6

Open
toolgood opened this issue Apr 25, 2024 · 0 comments
Open

value 参数 取 <input>的value 参数更好。。 #6

toolgood opened this issue Apr 25, 2024 · 0 comments

Comments

@toolgood
Copy link

value 参数 取 的value 参数更好。。

  function Cascader(config) {
      this.config = $.extend(true, getDefaultConfig(), config);
      if (!this.config.value) {
          var val = $(this.config.elem).val()
          if (val) {
              this.config.value = val;
          }
      }

............................
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant