优化JS路径
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
</form>
|
||||
</div>
|
||||
<div th:include="include::footer"></div>
|
||||
<script type="text/javascript" src="/ruoyi/system/post/add.js" th:src="@{/ruoyi/system/post/add.js}">
|
||||
<script src="/ruoyi/system/post/add.js" th:src="@{/ruoyi/system/post/add.js}">
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -52,7 +52,7 @@
|
||||
</form>
|
||||
</div>
|
||||
<div th:include="include::footer"></div>
|
||||
<script type="text/javascript" src="/ruoyi/system/post/edit.js" th:src="@{/ruoyi/system/post/edit.js}">
|
||||
<script src="/ruoyi/system/post/edit.js" th:src="@{/ruoyi/system/post/edit.js}">
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -18,8 +18,8 @@
|
||||
</table>
|
||||
</div>
|
||||
<div th:include="include :: footer"></div>
|
||||
<script type="text/javascript" src="/ruoyi/system/post/post.js" th:src="@{/ruoyi/system/post/post.js}"></script>
|
||||
<script th:inline="javascript" type="text/javascript">
|
||||
<script src="/ruoyi/system/post/post.js" th:src="@{/ruoyi/system/post/post.js}"></script>
|
||||
<script th:inline="javascript">
|
||||
var editFlag = [[${@permissionService.hasPermi('system:post:edit')}]];
|
||||
var removeFlag = [[${@permissionService.hasPermi('system:post:remove')}]];
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user