整理对话框相关逻辑,封装部分js方法
This commit is contained in:
@@ -74,7 +74,6 @@ html {
|
||||
}
|
||||
});
|
||||
|
||||
// 读取数据
|
||||
grid.remoteData();
|
||||
|
||||
$('#product_formula_delete').on('click', function() {
|
||||
|
||||
@@ -92,7 +92,6 @@
|
||||
|
||||
new agGrid.Grid(gridDiv, grid);
|
||||
|
||||
// 读取数据
|
||||
grid.remoteData({page: 1});
|
||||
|
||||
// 绑定自定义事件
|
||||
|
||||
@@ -65,7 +65,6 @@
|
||||
}
|
||||
});
|
||||
|
||||
// 读取数据
|
||||
grid.remoteData();
|
||||
|
||||
$('#product_formula_delete').on('click', function() {
|
||||
|
||||
@@ -54,7 +54,6 @@
|
||||
grid.rowSelection = 'single';
|
||||
new agGrid.Grid(gridDiv, grid);
|
||||
|
||||
// 读取数据
|
||||
grid.remoteData({page: 1});
|
||||
|
||||
// 绑定自定义事件
|
||||
|
||||
Reference in New Issue
Block a user