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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kn-cli",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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
- p,div,section,hgroup
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;
@@ -53,7 +53,7 @@ const Page = () => {
53
53
  request.reset();
54
54
  }
55
55
  return (
56
- <section>
56
+ <section className='wrap-space'>
57
57
  <section style={{display:'flex'}}>
58
58
  <Form form={form} >
59
59
  <Form.Item name='keywords' label='关键字'>
@@ -44,7 +44,7 @@ const Page = () => {
44
44
  request.update({pagination:{current,pageSize}})
45
45
  }
46
46
  return (
47
- <section>
47
+ <section className='wrap-space'>
48
48
  <Table
49
49
  rowKey={'id'}
50
50
  loading={!request?.data?.length>0}
@@ -47,7 +47,7 @@ export const RouteList = (
47
47
  path='/'
48
48
  element={
49
49
  <ProviderMenu.Provider>
50
- <LayoutBasic nav={<LeftMenu />}topMenu={<TopMenu />} />
50
+ <AuthLogin><LayoutBasic nav={<LeftMenu />}topMenu={<TopMenu />} /></AuthLogin>
51
51
  </ProviderMenu.Provider>
52
52
  }
53
53
  >