📝 清空目录类型的 uri

This commit is contained in:
b2baccline
2021-05-18 19:34:20 +08:00
parent a87e55799e
commit f2667f0c05

View File

@@ -58,6 +58,8 @@ INSERT INTO `sys_menu` (
END AS `target_type`,
CASE
`type`
WHEN 0 THEN
NULL
WHEN 1 THEN
IF(LEFT ( `PATH`, 4 ) = 'http', `PATH`, `component` ) ELSE NULL
END AS `uri`,