sbd-npm 1.4.99 → 1.5.0
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 +1 -1
- package/status.js +2 -1
- package/util.js +4 -4
package/package.json
CHANGED
package/status.js
CHANGED
|
@@ -1669,7 +1669,7 @@ $(function () {
|
|
|
1669
1669
|
});
|
|
1670
1670
|
|
|
1671
1671
|
Util.init_modal_skeleton("mysql_access_modal");
|
|
1672
|
-
$("#mysql_access_modal_title").html("连接
|
|
1672
|
+
$("#mysql_access_modal_title").html("连接MySQL的IP日志统计数据");
|
|
1673
1673
|
Util.init_table_skeleton({
|
|
1674
1674
|
"element_id": "mysql_access_modal_body",
|
|
1675
1675
|
"caption": '<caption class="' + (Util.is_mobile() ? "text-left" : "text-right") + '" id="mysql_access_summary"></caption>',
|
|
@@ -1689,6 +1689,7 @@ $(function () {
|
|
|
1689
1689
|
});
|
|
1690
1690
|
let mam_obj = $('#mysql_access_modal');
|
|
1691
1691
|
mam_obj.on('shown.bs.modal', function (e) {
|
|
1692
|
+
$("#mysql_access_filter").val("0");
|
|
1692
1693
|
Status.fetch_mysql_access_data();
|
|
1693
1694
|
});
|
|
1694
1695
|
mam_obj.on('hidden.bs.modal', function () {
|
package/util.js
CHANGED
|
@@ -1797,7 +1797,7 @@ const Util = {
|
|
|
1797
1797
|
Util.hide_tips();
|
|
1798
1798
|
});
|
|
1799
1799
|
let ctt_obj = $("#category_top_type");
|
|
1800
|
-
ctt_obj.
|
|
1800
|
+
ctt_obj.val(category_top_type);
|
|
1801
1801
|
ctt_obj.change(function() {
|
|
1802
1802
|
Util.render_category_top_modal();
|
|
1803
1803
|
});
|
|
@@ -2159,7 +2159,7 @@ const Util = {
|
|
|
2159
2159
|
html.push('</select>');
|
|
2160
2160
|
let obj = $("#" + component_id);
|
|
2161
2161
|
obj.html(html.join(""));
|
|
2162
|
-
obj.
|
|
2162
|
+
obj.val(select_val > 0 ? select_val : 100);
|
|
2163
2163
|
},
|
|
2164
2164
|
|
|
2165
2165
|
/**
|
|
@@ -3619,7 +3619,7 @@ const Util = {
|
|
|
3619
3619
|
}
|
|
3620
3620
|
nth -= 1;
|
|
3621
3621
|
});
|
|
3622
|
-
obj.
|
|
3622
|
+
obj.val(option_val);
|
|
3623
3623
|
},
|
|
3624
3624
|
|
|
3625
3625
|
/**
|
|
@@ -3637,7 +3637,7 @@ const Util = {
|
|
|
3637
3637
|
}
|
|
3638
3638
|
});
|
|
3639
3639
|
if (option_val !== "") {
|
|
3640
|
-
obj.
|
|
3640
|
+
obj.val(option_val);
|
|
3641
3641
|
} else {
|
|
3642
3642
|
Util.set_option_selected(obj, 100);
|
|
3643
3643
|
}
|