shijiplus-web-plugin 0.1.57 → 0.1.59
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
|
@@ -163,10 +163,10 @@ export default {
|
|
|
163
163
|
initialDate: {
|
|
164
164
|
// 监听format属性变化
|
|
165
165
|
handler(val) {
|
|
166
|
-
if (val.begin) {
|
|
166
|
+
if (val.begin && !this.begin) {
|
|
167
167
|
this.beginChange(this.$formatDate(val.begin, this.beginFormat))
|
|
168
168
|
}
|
|
169
|
-
if (val.end) {
|
|
169
|
+
if (val.end && !this.end) {
|
|
170
170
|
this.endChange(this.$formatDate(val.end, this.endFormat))
|
|
171
171
|
}
|
|
172
172
|
},
|
|
@@ -209,12 +209,13 @@ export default {
|
|
|
209
209
|
// 监听clearable属性变化
|
|
210
210
|
handler(val) {
|
|
211
211
|
if (val == false) {
|
|
212
|
-
this.$nextTick(() => {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
})
|
|
212
|
+
// this.$nextTick(() => {
|
|
213
|
+
// this.$refs.beginpickerRef.$children[1].$children[0].$children[6].$children[1].$el.style.display =
|
|
214
|
+
// 'none'
|
|
215
|
+
// this.$refs.endpickerRef.$children[1].$children[0].$children[6].$children[1].$el.style.display =
|
|
216
|
+
// 'none'
|
|
217
|
+
// })
|
|
218
|
+
console.log('--------clearable--------', this.$refs.beginpickerRef)
|
|
218
219
|
}
|
|
219
220
|
},
|
|
220
221
|
deep: true,
|