加入008A新产品
This commit is contained in:
@ -125,7 +125,8 @@
|
||||
MsgClose,
|
||||
MsgWarning,
|
||||
showPop,
|
||||
MsgClear
|
||||
MsgClear,
|
||||
MsgInfo
|
||||
} from '@/utils/MsgPops.js';
|
||||
import MQTT from '@/utils/MqHelper.js';
|
||||
|
||||
@ -412,8 +413,7 @@
|
||||
}
|
||||
|
||||
|
||||
arr[i].name = arr[i].name.replace(/\r\n/g, '').replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
|
||||
'');
|
||||
arr[i].name = arr[i].name.replace(/\r\n/g, '').replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,'');
|
||||
|
||||
|
||||
|
||||
@ -557,13 +557,22 @@
|
||||
|
||||
|
||||
setTimeout(()=>{
|
||||
MsgSuccess("如需要在PC上查看此数据,请复制链接后在PC端打开,然后点右上角扫码授权","复制链接",these,()=>{
|
||||
MsgInfo("如需要在PC上查看此数据,请复制链接后通过微信发送到PC,在PC端打开,然后点右上角扫码授权","复制链接",these,true,()=>{
|
||||
console.log("执行复制");
|
||||
uni.setClipboardData({
|
||||
data:'https://static-mp-5b7c35fc-f6fe-4100-a2e1-3669e4d4bfc9.next.bspapp.com/AppTools/views/index.html',
|
||||
success(){
|
||||
uni.showToast({
|
||||
title:'已复制链接'
|
||||
});
|
||||
|
||||
|
||||
plus.runtime.openURL('weixin://', (err) => {
|
||||
MsgError("打开微信失败,请手动打开微信粘贴");
|
||||
});
|
||||
},
|
||||
fail(ex){
|
||||
console.error("无法复制",ex)
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user