-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/*! | ||
* jQuery cxSelect | ||
* @name jquery.cxselect.js | ||
* @version 1.3.7 | ||
* @date 2015-11-14 | ||
* @version 1.3.8 | ||
* @date 2015-12-27 | ||
* @author ciaoca | ||
* @email [email protected] | ||
* @site https://github.com/ciaoca/cxSelect | ||
|
@@ -126,7 +126,14 @@ | |
}; | ||
}; | ||
|
||
self.getOptionData(0); | ||
if (typeof self.selectArray[0].data('url') === 'string' && self.selectArray[0].data('url').length) { | ||
self.getOptionData(0); | ||
} else { | ||
self.selectArray[0].prop('disabled', false).css({ | ||
'display': '', | ||
'visibility': '' | ||
}); | ||
}; | ||
}; | ||
|
||
// 改变选择时的处理 | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
a9cc7be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
哥,测试过不?加了这段判断,连示例都工作不了了
a9cc7be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已发现该问题,所以马上修复了
独立接口时,第一个选框可以不使用接口 (fix)