@kengic/uni 0.6.3-beta.20 → 0.6.3-beta.21

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.
@@ -10,7 +10,9 @@ import { isNil } from 'lodash-es';
10
10
  */
11
11
  uni.addInterceptor('request', {
12
12
  invoke(args) {
13
- uni.showLoading({});
13
+ if (args?.isShowLoading !== false) {
14
+ uni.showLoading({});
15
+ }
14
16
 
15
17
  const appStore = useAppStore();
16
18
 
@@ -70,6 +72,13 @@ type IRequestOptions = Omit<UniApp.RequestOptions, 'url'> & {
70
72
  */
71
73
  dynamicQueryOperatorModel?: Record<string, KG_DYNAMIC_QUERY_OPERATOR>;
72
74
 
75
+ /**
76
+ * 是否显示加载提示.
77
+ *
78
+ * @default true
79
+ */
80
+ isShowLoading?: boolean;
81
+
73
82
  /**
74
83
  * 是否不显示错误消息提示.
75
84
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/uni",
3
- "version": "0.6.3-beta.20",
3
+ "version": "0.6.3-beta.21",
4
4
  "scripts": {
5
5
  "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
6
6
  "------ -------------------------------------------": "",
@@ -13,6 +13,8 @@
13
13
  "- ------------------------------------------------": "",
14
14
  "copy-to:luotao.smartfactory.product.wms.wms--dev-3.2": "npm run build && npx tsx script/copy-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
15
15
  "bump-to:luotao.smartfactory.product.wms.wms--dev-3.2": "npm run use-node && npx tsx script/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
16
+ "copy-to:luotao.smartfactory.product.wms.wms--project-kengic-factory": "npm run build && npx tsx script/copy-to.luotao.smartfactory.product.wms.wms--project-kengic-factory.ts",
17
+ "bump-to:luotao.smartfactory.product.wms.wms--project-kengic-factory": "npm run use-node && npx tsx script/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
16
18
  "-- -----------------------------------------------": "",
17
19
  "cnpm:sync": "npx cnpm --yes sync @kengic/uni",
18
20
  "--- ----------------------------------------------": "",
@@ -0,0 +1,3 @@
1
+ import { bumpVersionToProjects } from './bump-to.ts';
2
+
3
+ ['file:///D:/proj/kg/smartfactory.product.wms.wms--project-kengic-factory/wms-pda'].forEach((projectPath) => bumpVersionToProjects(projectPath, []));
@@ -0,0 +1,3 @@
1
+ import { copyToProject } from './copy-to.ts';
2
+
3
+ ['D:/proj/kg/smartfactory.product.wms.wms--project-kengic-factory/wms-pda'].forEach((projectPath) => copyToProject(projectPath));