This commit is contained in:
xman 2025-07-08 09:51:27 +08:00
parent 1f7ee1fd14
commit 2cdf65b0fb

View File

@ -59,6 +59,11 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'echarts','echarts-th
Table.api.bindevent(table2);
var $city = $('#select_city');
if (!$city.data('citypicker')) {
$city.citypicker(); // ✅ 初始化插件
}
$("#select_city").on("cp:updated", function () {
console.log(123);
var citypicker = $(this).data("citypicker");