mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
refactor(web): 优化代码格式和结构
- 修改 index.html 中的脚本路径,使用 BASE_URL 动态生成
This commit is contained in:
@@ -7,16 +7,17 @@
|
|||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="<%= BASE_URL %>codebase/jsPlugin/jquery.min.js"></script>
|
||||||
<script type="text/JavaScript" src="codebase/jsPlugin/jquery.min.js"></script>
|
<script type="text/javascript" src="<%= BASE_URL %>codebase/encryption/AES.js"></script>
|
||||||
<script type="text/JavaScript" src="codebase/encryption/AES.js"></script>
|
<script
|
||||||
<script type="text/JavaScript" src="codebase/encryption/cryptico.min.js"></script>
|
type="text/javascript"
|
||||||
<script type="text/JavaScript" src="codebase/encryption/crypto-3.1.2.min.js"></script>
|
src="<%= BASE_URL %>codebase/encryption/cryptico.min.js"
|
||||||
<script type="text/JavaScript" src="codebase/webVideoCtrl.js"></script>
|
></script>
|
||||||
|
<script
|
||||||
|
type="text/javascript"
|
||||||
|
src="<%= BASE_URL %>codebase/encryption/crypto-3.1.2.min.js"
|
||||||
|
></script>
|
||||||
|
<script type="text/javascript" src="<%= BASE_URL %>codebase/webVideoCtrl.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>
|
<noscript>
|
||||||
|
|||||||
@@ -82,11 +82,7 @@
|
|||||||
<template #headerCell="{ column }">
|
<template #headerCell="{ column }">
|
||||||
<template v-if="column.key === 'action'">
|
<template v-if="column.key === 'action'">
|
||||||
<span>
|
<span>
|
||||||
<!-- <i
|
|
||||||
class="iconfont icon-add"
|
|
||||||
@click="handleAdd"
|
|
||||||
:style="{ cursor: formStatus == 'read' ? 'not-allowed' : 'pointer' }"
|
|
||||||
></i> -->
|
|
||||||
<PlusOutlined
|
<PlusOutlined
|
||||||
@click="handleAdd"
|
@click="handleAdd"
|
||||||
:style="{ cursor: formStatus == 'read' ? 'not-allowed' : 'pointer' }"
|
:style="{ cursor: formStatus == 'read' ? 'not-allowed' : 'pointer' }"
|
||||||
|
|||||||
Reference in New Issue
Block a user