MCPcopy Create free account
hub / github.com/circircir-circle/human_exist_device / setView

Method setView

mini_program/common/Validate.js:478–487  ·  view source on GitHub ↗

* 设置字段的默认验证值 * @param {String} param 字段名

(param)

Source from the content-addressed store, hash-verified

476 * @param {String} param 字段名
477 */
478 setView(param) {
479 this.form[param] = {
480 $name: param,
481 $valid: true,
482 $invalid: false,
483 $error: {},
484 $success: {},
485 $viewValue: ``,
486 }
487 }
488
489 /**
490 * 设置字段的验证值

Callers 1

checkFormMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected