mali-ui-plus 1.1.49 → 1.1.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/env/index.js +6 -1
- package/lib/mali-ui-plus.common.js +13 -3
- package/lib/mali-ui-plus.umd.js +13 -3
- package/lib/mali-ui-plus.umd.min.js +1 -1
- package/package.json +1 -1
package/env/index.js
CHANGED
|
@@ -179,7 +179,7 @@ function parseEnv (rootPath) {
|
|
|
179
179
|
}
|
|
180
180
|
})
|
|
181
181
|
} else {
|
|
182
|
-
console.log(
|
|
182
|
+
console.log(`检测不到 Env 配置文件,路径:${envDir}/*`)
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
return envConfig
|
|
@@ -212,6 +212,11 @@ function parseSwaggerEnv (rootPath) {
|
|
|
212
212
|
|
|
213
213
|
function defineSwaggerConfig (defaultConfig = {}, defaultRootPath) {
|
|
214
214
|
const rootPath = defaultConfig.rootPath || defaultRootPath
|
|
215
|
+
|
|
216
|
+
if (!fs.existsSync(path.resolve(rootPath, `${envDir}/.env.api`))) {
|
|
217
|
+
console.log(`检测不到 Swagger 配置文件,路径:${envDir}/.env.api`)
|
|
218
|
+
}
|
|
219
|
+
|
|
215
220
|
const swaggerConfig = parseSwaggerEnv(rootPath)
|
|
216
221
|
return {
|
|
217
222
|
outputFolder: 'src/api',
|
|
@@ -55523,7 +55523,17 @@ const MlTablevue_type_script_lang_ts_setup_true_hoisted_4 = {
|
|
|
55523
55523
|
return opts;
|
|
55524
55524
|
});
|
|
55525
55525
|
const seqOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
55526
|
-
return Object.assign({
|
|
55526
|
+
return Object.assign({
|
|
55527
|
+
seqMethod: ({
|
|
55528
|
+
rowIndex,
|
|
55529
|
+
seq
|
|
55530
|
+
}) => {
|
|
55531
|
+
if (props.treeConfig) {
|
|
55532
|
+
return seq;
|
|
55533
|
+
}
|
|
55534
|
+
return seq || rowIndex + 1;
|
|
55535
|
+
}
|
|
55536
|
+
}, props.seqConfig);
|
|
55527
55537
|
});
|
|
55528
55538
|
const toolbarOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
55529
55539
|
if (props.toolbarConfig || props.showTool || slots.tool_left || slots.tool_right) {
|
|
@@ -56154,7 +56164,7 @@ const _hoisted_15 = {
|
|
|
56154
56164
|
if (props.showPage) {
|
|
56155
56165
|
return (pageVO.currPage - 1) * pageVO.pageSize + rowIndex + 1;
|
|
56156
56166
|
}
|
|
56157
|
-
return rowIndex + 1;
|
|
56167
|
+
return seq || rowIndex + 1;
|
|
56158
56168
|
}
|
|
56159
56169
|
}, props.seqConfig);
|
|
56160
56170
|
});
|
|
@@ -62607,7 +62617,7 @@ function index_config(options) {
|
|
|
62607
62617
|
return config_0;
|
|
62608
62618
|
}
|
|
62609
62619
|
const MaliUI = {
|
|
62610
|
-
version: "1.1.
|
|
62620
|
+
version: "1.1.49",
|
|
62611
62621
|
install: index_install,
|
|
62612
62622
|
config: index_config,
|
|
62613
62623
|
renderer: {
|
package/lib/mali-ui-plus.umd.js
CHANGED
|
@@ -55533,7 +55533,17 @@ const MlTablevue_type_script_lang_ts_setup_true_hoisted_4 = {
|
|
|
55533
55533
|
return opts;
|
|
55534
55534
|
});
|
|
55535
55535
|
const seqOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
55536
|
-
return Object.assign({
|
|
55536
|
+
return Object.assign({
|
|
55537
|
+
seqMethod: ({
|
|
55538
|
+
rowIndex,
|
|
55539
|
+
seq
|
|
55540
|
+
}) => {
|
|
55541
|
+
if (props.treeConfig) {
|
|
55542
|
+
return seq;
|
|
55543
|
+
}
|
|
55544
|
+
return seq || rowIndex + 1;
|
|
55545
|
+
}
|
|
55546
|
+
}, props.seqConfig);
|
|
55537
55547
|
});
|
|
55538
55548
|
const toolbarOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
55539
55549
|
if (props.toolbarConfig || props.showTool || slots.tool_left || slots.tool_right) {
|
|
@@ -56164,7 +56174,7 @@ const _hoisted_15 = {
|
|
|
56164
56174
|
if (props.showPage) {
|
|
56165
56175
|
return (pageVO.currPage - 1) * pageVO.pageSize + rowIndex + 1;
|
|
56166
56176
|
}
|
|
56167
|
-
return rowIndex + 1;
|
|
56177
|
+
return seq || rowIndex + 1;
|
|
56168
56178
|
}
|
|
56169
56179
|
}, props.seqConfig);
|
|
56170
56180
|
});
|
|
@@ -62617,7 +62627,7 @@ function index_config(options) {
|
|
|
62617
62627
|
return config_0;
|
|
62618
62628
|
}
|
|
62619
62629
|
const MaliUI = {
|
|
62620
|
-
version: "1.1.
|
|
62630
|
+
version: "1.1.49",
|
|
62621
62631
|
install: index_install,
|
|
62622
62632
|
config: index_config,
|
|
62623
62633
|
renderer: {
|