mali-ui-plus 1.0.159 → 1.0.161
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
CHANGED
|
@@ -24,7 +24,7 @@ function parseEnvFile (dirPath, name) {
|
|
|
24
24
|
|
|
25
25
|
function parseEnv (dirPath) {
|
|
26
26
|
const envConfig = {}
|
|
27
|
-
envConfig.VUE_APP_MODE = process.env.VUE_APP_MODE || '
|
|
27
|
+
envConfig.VUE_APP_MODE = process.env.VUE_APP_MODE || 'prod'
|
|
28
28
|
envConfig.VUE_APP_CUSTOM_MODULE = process.env.VUE_APP_CUSTOM_MODULE || 'default'
|
|
29
29
|
envConfig.VUE_APP_SUB_MODULE = process.env.VUE_APP_SUB_MODULE || 'default'
|
|
30
30
|
envConfig.VUE_APP_PLATFORM_NAME = process.env.VUE_APP_PLATFORM_NAME || 'default'
|
|
@@ -37,7 +37,7 @@ function parseEnv (dirPath) {
|
|
|
37
37
|
const appEnv = parseEnvFile(dirPath, envName)
|
|
38
38
|
const localEnv = parseEnvFile(dirPath, `${envName}.local`)
|
|
39
39
|
|
|
40
|
-
return Object.assign(
|
|
40
|
+
return Object.assign({}, globalDev, defDev, appEnv, localEnv, envConfig)
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
function initEnv (dirPath) {
|
|
@@ -41066,7 +41066,7 @@ const MlTreeSelectvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
41066
41066
|
const $xeformiteminfo = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeformiteminfo', null);
|
|
41067
41067
|
const mlForm = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('mlForm', null);
|
|
41068
41068
|
const keyMaps = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)({});
|
|
41069
|
-
const selectValue = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
41069
|
+
const selectValue = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(props.modelValue || (props.multiple ? [] : null));
|
|
41070
41070
|
const isReadonly = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
41071
41071
|
if (props.readonly === null) {
|
|
41072
41072
|
return mlForm ? mlForm.props.readonly : false;
|
|
@@ -41144,7 +41144,8 @@ const MlTreeSelectvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
41144
41144
|
mlForm.submit();
|
|
41145
41145
|
}
|
|
41146
41146
|
};
|
|
41147
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue,
|
|
41147
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue, value => {
|
|
41148
|
+
selectValue.value = value || (props.multiple ? [] : null);
|
|
41148
41149
|
updateLabel();
|
|
41149
41150
|
});
|
|
41150
41151
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.options, () => {
|
|
@@ -77125,7 +77126,7 @@ function index_config(options) {
|
|
|
77125
77126
|
return config_0;
|
|
77126
77127
|
}
|
|
77127
77128
|
const MaliUI = {
|
|
77128
|
-
version: "1.0.
|
|
77129
|
+
version: "1.0.160",
|
|
77129
77130
|
install: index_install,
|
|
77130
77131
|
config: index_config,
|
|
77131
77132
|
renderer: {
|