Skip to content

Commit

Permalink
修复站点备注内容小数点转下划线的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
songchudong committed Jan 5, 2022
1 parent df76990 commit e31ea7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BTPanel/static/js/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -2415,9 +2415,9 @@ var site = {
style: { top: '15px', left: '15px' },
},
input: function (value, form, that, config, ev) { //键盘事件
/* oneVal = bt.strim(ress.replace(new RegExp(/([-.])/g), '_')), */
var array = value.webname.split("\n"),
ress = array[0].split(":")[0],
oneVal = bt.strim(ress.replace(new RegExp(/([-.])/g), '_')),
defaultPath = $('#defaultPath').text(),
is_oneVal = ress.length > 0;
that.$set_find_value(is_oneVal ? {
Expand Down

0 comments on commit e31ea7a

Please sign in to comment.