Open sunyawei1992 opened 4 years ago
兄弟解决这个问题了么,我也遇到了,就很奇怪
把 import { TaroCanvasDrawer } from 'taro-plugin-canvas' 改成 import TaroCanvasDrawer from 'taro-plugin-canvas'; 试试
我遇到的问题是The "path" argument must be of type string. Received null
,
taro-plugin-canvas: 1.0.10
tarojs: 2.2.16
以上仅供参考
The "path" argument must be of type string. Received type object
import Taro, { useRouter, useState, useEffect } from '@tarojs/taro' import { View, Image, Text } from '@tarojs/components' import './index.scss' import { baseUrl, baseImg } from '../../config' import { lockInfo } from '../../api/lock' import { useAsyncEffect } from '../../utils' import { TaroCanvasDrawer } from 'taro-plugin-canvas'
const ConfirmLock = () => {
}
ConfirmLock.config = { navigationStyle: "custom" }
export default ConfirmLock