提交更新

master
qsj 2 years ago
parent b4c4d1669c
commit 4e0c52b3b9

@ -3,8 +3,8 @@
"description": "", "description": "",
"setting": { "setting": {
"urlCheck": true, "urlCheck": true,
"es6": false, "es6": true,
"enhance": false, "enhance": true,
"compileHotReLoad": false, "compileHotReLoad": false,
"postcss": false, "postcss": false,
"preloadBackgroundData": false, "preloadBackgroundData": false,
@ -37,5 +37,6 @@
"ignore": [], "ignore": [],
"include": [] "include": []
}, },
"appid": "wx92d11ea506995fa9" "appid": "wx92d11ea506995fa9",
"projectname": "IterationThree"
} }

@ -0,0 +1,7 @@
{
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"setting": {
"compileHotReLoad": true,
"bigPackageSizeSupport": true
}
}

@ -416,6 +416,8 @@ class Index extends Component<any, any> {
}; };
gourl = (e) => { gourl = (e) => {
const { url } = e.currentTarget.dataset; const { url } = e.currentTarget.dataset;
if (this.isRegister()) { if (this.isRegister()) {
go(url); go(url);
@ -737,6 +739,8 @@ class Index extends Component<any, any> {
// 跳转仪器介绍页 // 跳转仪器介绍页
goNursing = (item) => { goNursing = (item) => {
console.log(item,'查看跳转对象');
if (item.status === 0) { if (item.status === 0) {
setStorageSync("instrument_detail", item); setStorageSync("instrument_detail", item);
this.setState({ connectInstrument: item }); this.setState({ connectInstrument: item });
@ -752,6 +756,7 @@ class Index extends Component<any, any> {
/** 蓝牙逻辑 */ /** 蓝牙逻辑 */
bindBlockLeft() { bindBlockLeft() {
if (!this.state.isRegisterBoolean) { if (!this.state.isRegisterBoolean) {
//未注册授权 //未注册授权
this.alertRegister(); this.alertRegister();

Loading…
Cancel
Save