message:Error: 非法的文件,错误信息:invalid file: pages/index/city/city.js, undefined:1: SyntaxError: Unexpected token ?,!function(){let t=getApp(),a=null;Page({data:{CustomBar:t.globalData.CustomBar,hidden:!0,name:"",load:!1,firstVisit:!0,listData:{},listInitial:{}},onLoad(t){a=this,a.checkAgent(t),a.checkFirst(t)&&a.getCityList()},checkAgent(a){let e=a.agent_id??!1;e&&t.server.postRequest("user/share",{agent_id:e}).then((function(t){console.log(t)}))},checkFirst(e){let i=t.config.storage.getFristData()??1;a.setData({firstVisit:i});let s=e.first_visit??0;return s>0&&a.setData({firstVisit:s}),0!=a.data.firstVisit||(wx.reLaunch({url:"../../index/index"}),!1)},getCityList:function(){let e=a.data.name;t.server.getRequest("region/get_group",{name:e}).then((function(t){a.setData({load:!0,listData:t.data})}))},searchInputTap:function(t){let e=t.detail.value;a.setData({name:e})},searchCityTap:function(t){a.getCityList()},cityTap:function(a){var e=a.currentTarget.dataset.data;t.config.storage.setCurrentCityData(e),wx.navigateTo({url:"../exam/exam"})},getCur(t){this.setData({hidden:!1,listCur:t.target.id})},setCur(t){this.setData({hidden:!0,listCur:this.data.listCur})},tMove(t){let a=t.touches[0].clientY,e=this.data.boxTop,i=this;if(a>e){let t=parseInt((a-e)/20);this.setData({listCur:i.data.listData[t]})}},tStart(){this.setData({hidden:!1})},tEnd(){this.setData({hidden:!0,listCurID:this.data.listCur})}})}(); ^SyntaxError: Unexpected token ? [20211212 13:34:00][wxbeb4d4de2823d484]
appid: wxbeb4d4de2823d484
openid: o6zAJswLDwGO-dnzXRvF4qRWcfM0
ideVersion: 1.05.2110290
osType: win32-x64
time: 2021-12-12 13:34:04
提供一下appid
同样问题 怎么处理啊?