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