bri-components 1.4.74 → 1.4.75
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
|
@@ -103,7 +103,10 @@ export default {
|
|
|
103
103
|
return this.propsObj._name;
|
|
104
104
|
},
|
|
105
105
|
commonDealPropsObj () {
|
|
106
|
-
const selectControlTypes = [
|
|
106
|
+
const selectControlTypes = [
|
|
107
|
+
"date", "daterange", "switch", "select", "checkbox", "region", "regions", "cascader", "cascaders",
|
|
108
|
+
"file", "coordinates", "users", "departments", "reference"
|
|
109
|
+
];
|
|
107
110
|
return {
|
|
108
111
|
_placeholder: this.canEdit && this.propsObj._enterType !== "calculate" && this.propsObj._disabled !== true && this.propsObj._readonly !== true
|
|
109
112
|
? (this.propsObj._placeholder || `${selectControlTypes.includes(this.controlType) ? "选择" : "输入"}${this.propsObj._name}`)
|
|
@@ -122,7 +125,7 @@ export default {
|
|
|
122
125
|
multipleMode () {
|
|
123
126
|
return this.isInDftSearch || this.isInSearch
|
|
124
127
|
? true
|
|
125
|
-
: ["daterange", "checkbox", "regions", "cascaders", "labels", "refCheckbox"].includes(this.controlType)
|
|
128
|
+
: ["numberange", "daterange", "checkbox", "regions", "cascaders", "labels", "refCheckbox"].includes(this.controlType)
|
|
126
129
|
? true
|
|
127
130
|
: !!this.selfPropsObj && !!this.selfPropsObj._multiple;
|
|
128
131
|
},
|