Skip to content

Commit b7953e2

Browse files
author
hikki
committed
v1 点线面
1 parent 2b65120 commit b7953e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/DLPViewer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public static function makeAddFormAction(Grid $grid)
139139
$url = Request::capture()->getPathInfo();
140140
Admin::script(<<<EOF
141141
$('.CAForm').click(function(){
142-
componentPlane('{$url}/create','{$url}/store');
142+
componentPlane('{$url}/create','{$url}');
143143
});
144144
EOF
145145
);
@@ -171,7 +171,7 @@ public static function makeEditFormAction(Grid $grid)
171171
Admin::script(<<<EOF
172172
$('.CEForm').click(function(){
173173
let url = '{$url}' + '/'+this.getAttribute('data-id');
174-
componentPlane(url+'/edit',url,'PUT');
174+
componentPlane(url+'/edit',url);
175175
});
176176
EOF
177177
);
@@ -198,7 +198,7 @@ public static function _makeEditFormAction(Grid &$grid)
198198
Admin::script(<<<EOF
199199
$('.CEForm').click(function(){
200200
let url = '{$url}' + '/'+this.getAttribute('data-id');
201-
componentPlane(url+'/edit',url,'PUT');
201+
componentPlane(url+'/edit',url);
202202
});
203203
EOF
204204
);

0 commit comments

Comments
 (0)