kn-cli 1.0.49 → 1.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/templates/template_admin/public/src/_reset.less +13 -8
- package/templates/template_admin/public/src/components/TopMenu/index.jsx +0 -5
- package/templates/template_admin/public/src/pages/material/index.jsx +1 -1
- package/templates/template_admin/public/src/pages/video/index.jsx +1 -1
- package/templates/template_admin/public/src/route.jsx +1 -1
package/package.json
CHANGED
|
@@ -64,7 +64,7 @@ a,div,p,span,section,hgroup{
|
|
|
64
64
|
|
|
65
65
|
* {
|
|
66
66
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
67
|
-
position: relative;
|
|
67
|
+
// position: relative;
|
|
68
68
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
69
69
|
-webkit-text-size-adjust: none;
|
|
70
70
|
-webkit-box-sizing: border-box;
|
|
@@ -117,12 +117,17 @@ a,div,p,span,section,hgroup{
|
|
|
117
117
|
-webkit-overflow-scrolling: touch;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
p,div,section,hgroup
|
|
121
|
+
{
|
|
122
|
+
&[data-text-break]{
|
|
123
|
+
white-space: pre-wrap;
|
|
124
|
+
word-break:break-all;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
121
127
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
&[data-text-break]{
|
|
125
|
-
white-space: pre-wrap;
|
|
126
|
-
word-break:break-all;
|
|
128
|
+
.wrap-space{
|
|
129
|
+
padding:var(--padding-small)
|
|
127
130
|
}
|
|
128
|
-
|
|
131
|
+
|
|
132
|
+
}
|
|
133
|
+
|
|
@@ -111,11 +111,6 @@ const TopMenu=(props)=>{
|
|
|
111
111
|
return req;
|
|
112
112
|
}
|
|
113
113
|
const loadMenu=async ()=>{
|
|
114
|
-
const isLogin= await app.isLogin();
|
|
115
|
-
if(!isLogin){
|
|
116
|
-
navigate('/superAdminLogin')
|
|
117
|
-
return;
|
|
118
|
-
}
|
|
119
114
|
let reqMenu = await GET_MENU();
|
|
120
115
|
if(reqMenu?.code==0){
|
|
121
116
|
let originMenu= reqMenu.data;
|