1
This commit is contained in:
@@ -84,8 +84,8 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
define: {
|
define: {
|
||||||
'process.env': {
|
'process.env': {
|
||||||
API_URL: "https://iadminapi.zhongshuai2023.com",
|
// API_URL: "https://iadminapi.zhongshuai2023.com",
|
||||||
// API_URL: "http://192.168.1.54:1002",
|
API_URL: "http://192.168.1.54:1002",
|
||||||
WS_URL: "ws://lv.com",
|
WS_URL: "ws://lv.com",
|
||||||
STATIC_URL: "http://lv.com",
|
STATIC_URL: "http://lv.com",
|
||||||
WEMAP_KEY: 'ZFDBZ-YUTWB-353UZ-NYKEY-JTVIZ-Q3F6X'
|
WEMAP_KEY: 'ZFDBZ-YUTWB-353UZ-NYKEY-JTVIZ-Q3F6X'
|
||||||
|
|||||||
2
dist/index.html
vendored
2
dist/index.html
vendored
@@ -8,6 +8,6 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
<script src="/umi.8c3944af.js"></script>
|
<script src="/umi.be584f3c.js"></script>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
File diff suppressed because one or more lines are too long
64
dist/umi.8c3944af.js → dist/umi.be584f3c.js
vendored
64
dist/umi.8c3944af.js → dist/umi.be584f3c.js
vendored
File diff suppressed because one or more lines are too long
@@ -177,7 +177,7 @@ const RoleTableList: React.FC = () => {
|
|||||||
toolBarRender={() => [
|
toolBarRender={() => [
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
key="add"
|
hidden={!access.hasPerms('/api/sys/role/add')}
|
||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
setCurrentRow(undefined);
|
setCurrentRow(undefined);
|
||||||
setModalVisible(true);
|
setModalVisible(true);
|
||||||
|
|||||||
@@ -38,5 +38,6 @@ export const childrenRemove = (data: Item[] | undefined): Item[] => {
|
|||||||
list.push(i);
|
list.push(i);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return list.sort((a, b) => (a.orderNum === 0 ? -1 : b.orderNum === 0 ? 1 : a.orderNum - b.orderNum));
|
// .sort((a, b) => (a.orderNum === 0 ? -1 : b.orderNum === 0 ? 1 : a.orderNum - b.orderNum));
|
||||||
|
return list
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user