Bladeren bron

置灰

yxb
DESKTOP-2IO5MST\huting 2 jaren geleden
bovenliggende
commit
556e4a2517
2 gewijzigde bestanden met toevoegingen van 12 en 6 verwijderingen
  1. 11
    5
      App.vue
  2. 1
    1
      index.html

+ 11
- 5
App.vue Bestand weergeven

@@ -9,7 +9,13 @@ import {
} from "@/datas/queryKey.js";
// import { log } from "console";
export default {
// data(){
// return{
// isEnableSetGray:true,
// }
// },
onLaunch: function (option) {
wx.setStorageSync("extraData", option.referrerInfo.extraData);
// #ifdef MP-WEIXIN
//获取小程序更新机制兼容
@@ -58,7 +64,6 @@ export default {
onShow: function (option) {
console.log(option);
console.log("进入主视图");
if (option && option.scene === 1038) {
// 场景值1038:从被打开的小程序返回
const { appId, extraData } = option.referrerInfo;
@@ -125,7 +130,7 @@ export default {
request(getGlobalParam, options).then((res) => {
const result = stringToJson(res.bizContent);
setItem('globalParam', result.data)
this.getGlobalParam();
// this.getGlobalParam();
// getItem("globalParam")
console.log("配置",result);
});
@@ -137,7 +142,9 @@ export default {
console.log("全局配置数据1111",getCodeName('IS_ENABLE',data.setGray))
// 申办时是否允许修改OCR识别出来的车辆信息数据
if(getCodeName('IS_ENABLE',data.setGray)=='启用'){
// this.isEnableSetGray=true;
this.isEnableSetGray=true;
}else{
this.isEnableSetGray=true;
}
}
@@ -150,9 +157,8 @@ export default {
@import "./static/css/common.scss";

// @import './uni_modules/vk-uview-ui/index.scss';
page {
page{
font-family: "Microsoft Yahei";
// filter: grayscale(1)
}

</style>

+ 1
- 1
index.html Bestand weergeven

@@ -14,7 +14,7 @@
<!--app-context-->
</head>
<body >
<div id="app"><!--app-html--></div>
<div id="app">app-html</div>
<script type="module" src="/main.js"></script>
</body>
</html>

Laden…
Annuleren
Opslaan