feat: 解决报错
This commit is contained in:
parent
5537a69779
commit
bd5534280a
|
@ -19,7 +19,7 @@
|
|||
{
|
||||
"path": "pages/index/list",
|
||||
"style": {
|
||||
"navigationBarTitleText": "保洁点位"
|
||||
"navigationBarTitleText": "异常上报"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -191,6 +191,9 @@ export default {
|
|||
// 上传图片
|
||||
uploadFn() {
|
||||
console.log("%c%s", "color:red", "上传图片");
|
||||
|
||||
// 先关闭弹窗再跳转
|
||||
this.successShow = false;
|
||||
uni.navigateTo({
|
||||
url: "/pages/index/uploadPhoto",
|
||||
});
|
||||
|
@ -198,6 +201,9 @@ export default {
|
|||
// 异常上报
|
||||
exceptionReportFn() {
|
||||
console.log("%c%s", "color:red", "异常上报");
|
||||
|
||||
// 先关闭弹窗再跳转
|
||||
this.errorShow = false;
|
||||
uni.navigateTo({
|
||||
url: "/pages/index/list",
|
||||
});
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
</view>
|
||||
|
||||
<!-- 提交按钮 -->
|
||||
<u-button @click="submitForm" customStyle="margin-top: 40rpx" type="primary"
|
||||
<u-button @click="submitForm" style="margin-top: 40rpx" type="primary"
|
||||
>保存</u-button
|
||||
>
|
||||
</view>
|
||||
|
|
Loading…
Reference in New Issue