@@ -1,7 +1,7 @@
export default {
base: {
- // dev: 'https://api.xazhyc.com',
- dev: 'http://1.15.92.205:7001',
+ dev: 'https://api.xazhyc.com',
+ // dev: 'http://1.15.92.205:7001',
// dev: 'http://192.168.3.253:7001',
pro: 'https://api.xazhyc.com'
},
@@ -203,9 +203,9 @@
this.formData.attachList=attachList
- onUnload() {
- uni.removeStorageSync('point')
- }
+ // onUnload() {
+ // uni.removeStorageSync('point')
+ // }
}
</script>
@@ -76,6 +76,11 @@
this.getchecklistRecord(id,recordId)
+ onShow() {
+ let point=uni.getStorageSync('point')
+ if(!point)return
+ this.getchecklistRecord(point.checklistId,point.recordId)
+ },
methods: {
async initCheckList(checklistId){
let qrcode=uni.getStorageSync('qrcode')
@@ -21943,8 +21943,8 @@ Object.defineProperty(exports, "__esModule", {
exports.default = void 0;
var _default = {
@@ -254,6 +254,11 @@ var _default = {
this.getchecklistRecord(id, recordId);
+ onShow: function onShow() {
+ var point = uni.getStorageSync('point');
+ if (!point) return;
+ this.getchecklistRecord(point.checklistId, point.recordId);
initCheckList: function initCheckList(checklistId) {
var _this = this;