vue2-client 1.2.11 → 1.2.14
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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -241,11 +241,13 @@ export default {
|
|
|
241
241
|
},
|
|
242
242
|
// 获取数据
|
|
243
243
|
getData (value, callback) {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
244
|
+
if (value !== '') {
|
|
245
|
+
const logicName = this.attr.keyName
|
|
246
|
+
const logic = logicName.substring(6)
|
|
247
|
+
post('/webmeterapi/' + logic, value).then(res => {
|
|
248
|
+
callback(res)
|
|
249
|
+
})
|
|
250
|
+
}
|
|
249
251
|
},
|
|
250
252
|
filterOption (input, option) {
|
|
251
253
|
if (option.componentOptions.children[0].text) {
|