修正页面错误,完善ts elint

master
zhoulei 4 years ago
parent eb0d1a616e
commit 7930a8beea

@ -1,10 +1,19 @@
<!--
* @Author: zhou lei
* @Date: 2021-12-14 09:59:02
* @LastEditTime: 2021-12-14 10:53:23
* @LastEditors: zhou lei
* @Description:
* @FilePath: /wms_haiwai_app/src/pages/raw/commission/entrant/detail.vue
* 联系方式:910592680@qq.com 18669792120 科海达信息技术有限公司
-->
<template>
<view class="page-receipt-detail">
<view class="header">
<view class="left">
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack()" />
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack({})" />
</view>
<view class="title">{{ $t("message.Pi_QueryResults") }}</view>
<view class="title">{{ $t('message.Pi_QueryResults') }}</view>
<view class="right"></view>
</view>
<view class="table-wrapper">
@ -21,10 +30,10 @@
</view>
</template>
<script lang="ts">
import { Component } from "vue-property-decorator";
import { BasePage } from "@/components/base/page";
import { headers } from "./config";
import model from "./model";
import { Component } from 'vue-property-decorator';
import { BasePage } from '@/components/base/page';
import { headers } from './config';
import model from './model';
@Component
export default class RawReceiptDetail extends BasePage {
@ -34,8 +43,7 @@ export default class RawReceiptDetail extends BasePage {
</script>
<style lang="scss" scoped>
.page-receipt-detail {
background: #f2f2f2
linear-gradient(0deg, #f2f2f2 0%, #4a78ea 51%, #1753ea 100%) no-repeat;
background: #f2f2f2 linear-gradient(0deg, #f2f2f2 0%, #4a78ea 51%, #1753ea 100%) no-repeat;
background-size: 100% 600rpx;
padding: 30rpx;
min-height: 100%;

@ -2,7 +2,7 @@
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"strict": true,
"strict": false,
"jsx": "preserve",
"importHelpers": true,
"moduleResolution": "node",
@ -12,6 +12,9 @@
"sourceMap": true,
"skipLibCheck": true,
"baseUrl": ".",
// 使typescriptvuereactnodeJSX "any" "JSX.Element"
"suppressImplicitAnyIndexErrors": true,
"noImplicitAny": false, // any
"types": [
"webpack-env",
"@dcloudio/types",

Loading…
Cancel
Save