Browse Source

🐛-询问框一直loding问题

shaogen1995 2 years ago
parent
commit
01970f3732

+ 1 - 0
后台管理/src/components/Z_upFileOne/index.tsx

@@ -123,6 +123,7 @@ function Z_upFileOne({
             okText="删除"
             cancelText="取消"
             onConfirm={() => setCover("")}
+            okButtonProps={{ loading: false }}
           >
             <CloseOutlined />
           </Popconfirm>

+ 1 - 0
后台管理/src/pages/A1Order/index.tsx

@@ -207,6 +207,7 @@ function A1Order() {
               okText="删除"
               cancelText="取消"
               onConfirm={() => delTableFu(item.id)}
+              okButtonProps={{ loading: false }}
             >
               <Button size="small" type="text" danger>
                 删除

+ 2 - 0
后台管理/src/pages/A2Gallery/A2Edit/index.tsx

@@ -173,6 +173,7 @@ function A2Edit({ editInfo, editFu, closeFu }: Props) {
               okText="删除"
               cancelText="取消"
               onConfirm={() => delTableFu(item.id)}
+              okButtonProps={{ loading: false }}
             >
               <Button size="small" type="text" danger>
                 删除
@@ -261,6 +262,7 @@ function A2Edit({ editInfo, editFu, closeFu }: Props) {
                   okText="放弃"
                   cancelText="取消"
                   onConfirm={closeFu}
+                  okButtonProps={{ loading: false }}
                 >
                   <Button>取消</Button>
                 </Popconfirm>

+ 1 - 0
后台管理/src/pages/A2Gallery/A2Modal/index.tsx

@@ -218,6 +218,7 @@ function A2Modal({ isEdit, inCloseFu, inEditFu }: Props) {
               okText="放弃"
               cancelText="取消"
               onConfirm={inCloseFu}
+              okButtonProps={{ loading: false }}
             >
               <Button>取消</Button>
             </Popconfirm>

+ 1 - 1
后台管理/src/pages/A2ZSort/index.tsx

@@ -224,7 +224,7 @@ function A2ZSort() {
               <>
                 点击 &emsp;
                 <SortAscendingOutlined />
-                &emsp;输入&emsp;排序标识,按&emsp;Enter键&emsp;交换序号(序号标识会累加,删除的序号标识不会在出现)
+                &emsp;输入&emsp;排序标识,按&emsp;Enter键&emsp;交换位置(排序标识会累加,删除的排序标识不会在出现)
               </>
             }
           >

+ 1 - 0
后台管理/src/pages/A3Fliqlo/A3Modal/index.tsx

@@ -75,6 +75,7 @@ function A3Modal({ pid, closeFu, addTableFu }: Props) {
           okText="放弃"
           cancelText="取消"
           onConfirm={() => closeFu()}
+          okButtonProps={{ loading: false }}
         >
           <Button>取消</Button>
         </Popconfirm>

+ 2 - 0
后台管理/src/pages/A3Fliqlo/index.tsx

@@ -170,6 +170,7 @@ function A3Fliqlo() {
               okText="删除"
               cancelText="取消"
               onConfirm={() => delTableFu(item.id)}
+              okButtonProps={{ loading: false }}
             >
               <Button size="small" type="text" danger>
                 删除
@@ -229,6 +230,7 @@ function A3Fliqlo() {
                 okText="放弃"
                 cancelText="取消"
                 onConfirm={() => setEdit(false)}
+                okButtonProps={{ loading: false }}
               >
                 <Button>取消</Button>
               </Popconfirm>

+ 1 - 0
后台管理/src/pages/A4User/UserAdd/index.tsx

@@ -129,6 +129,7 @@ function UserAdd({ id, closePage, upTableList, addTableList }: Props) {
               okText="放弃"
               cancelText="取消"
               onConfirm={closePage}
+              okButtonProps={{ loading: false }}
             >
               <Button>取消</Button>
             </Popconfirm>

+ 2 - 0
后台管理/src/pages/A4User/index.tsx

@@ -230,6 +230,7 @@ function A4User() {
                 okText="重置"
                 cancelText="取消"
                 onConfirm={() => resetPassFu(item.id!)}
+                okButtonProps={{ loading: false }}
               >
                 <Button size="small" type="text">
                   重置密码
@@ -248,6 +249,7 @@ function A4User() {
                 okText="删除"
                 cancelText="取消"
                 onConfirm={() => delTableFu(item.id!)}
+                okButtonProps={{ loading: false }}
               >
                 <Button size="small" type="text" danger>
                   删除

+ 1 - 0
后台管理/src/pages/Layout/index.tsx

@@ -172,6 +172,7 @@ function Layout() {
                 okText="确定"
                 cancelText="取消"
                 onConfirm={loginExit}
+                okButtonProps={{ loading: false }}
               >
                 退出登录
               </Popconfirm>