main
RIceWqy 2 years ago
parent 0f2202037c
commit 63906928f0

@ -340,6 +340,7 @@
/** /**
* 登录提示页 * 登录提示页
*/ */
import jsonrpc from "@/shopro/jsonrpc/jsonrpc2.0.js"
import FormValidate from "@/shopro/validate/form"; import FormValidate from "@/shopro/validate/form";
import schema from "@/uview-ui/libs/util/async-validator"; import schema from "@/uview-ui/libs/util/async-validator";
import wechat from "@/shopro/wechat/wechat"; import wechat from "@/shopro/wechat/wechat";
@ -498,11 +499,23 @@ export default {
// //
checkValue(e, key) { checkValue(e, key) {
this.validation(key); console.log("checkValue@@@@")
// this.validation(key);
}, },
// //
validation(key, callback = () => { }) { validation(key, callback = () => { }) {
console.log("validation")
let wqy = function(responce){
console.log(responce)
}
let res = {
"method":"/account/login",
"jsonrpc":"2.0",
"params":{"username":"admin",
"password":"123"}
}
jsonrpc.send("http://192.168.10.151:5080/jsonrpc",res,wqy,wqy)
let that = this; let that = this;
// //
let fieldValue = this.form[this.authType].data[key]; let fieldValue = this.form[this.authType].data[key];

Loading…
Cancel
Save