adtec-core-package 2.1.2 → 2.1.4
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
package/src/api/BasicApi.ts
CHANGED
|
@@ -128,8 +128,8 @@ const defaultConfig = {
|
|
|
128
128
|
image: {
|
|
129
129
|
uploaderEvent: {
|
|
130
130
|
onUploadBefore: (file, uploadUrl, headers) => {
|
|
131
|
-
if (file.size > 1024 * 1024) {
|
|
132
|
-
ElMessage.warning("图片大小不能超过
|
|
131
|
+
if (file.size > 2 * 1024 * 1024) {
|
|
132
|
+
ElMessage.warning("图片大小不能超过2M")
|
|
133
133
|
return false
|
|
134
134
|
}
|
|
135
135
|
},
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<!--修改时间: 2024/11/8 上午10:33-->
|
|
4
4
|
<template>
|
|
5
5
|
<el-drawer v-model="dialogVisible" :title="title" size="850px" @close="dialogVisible = false">
|
|
6
|
-
<userForm ref="ref_form" :multiple="multiple" :fetch-data="fetchData" @success="success" :defalut-query-param="defalutQueryParam"></userForm>
|
|
6
|
+
<userForm ref="ref_form" v-if="dialogVisible" :multiple="multiple" :fetch-data="fetchData" @success="success" :defalut-query-param="defalutQueryParam"></userForm>
|
|
7
7
|
<template #footer>
|
|
8
8
|
<el-button @click="dialogVisible = false">取消</el-button>
|
|
9
9
|
<el-button type="primary" @click="confirm">确定</el-button>
|