保存二维码
This commit is contained in:
parent
855f6ca3e6
commit
117584acba
|
|
@ -19,7 +19,11 @@
|
|||
<!-- #endif -->
|
||||
</view>
|
||||
<view class="mt-[100rpx] w-full">
|
||||
<u-button type="primary" shape="circle" @click="saveImageToPhotosAlbum(content.qrcode)">
|
||||
<u-button
|
||||
type="primary"
|
||||
shape="circle"
|
||||
@click="saveImageToPhotosAlbum(getImageUrl(content.qrcode))"
|
||||
>
|
||||
保存二维码图片
|
||||
</u-button>
|
||||
</view>
|
||||
|
|
|
|||
|
|
@ -38,7 +38,8 @@ const handleChange = (index: number) => {
|
|||
}
|
||||
|
||||
const getData = async () => {
|
||||
tabList.value = await getArticleCate()
|
||||
const data = await getArticleCate()
|
||||
tabList.value = [{ name: '全部', id: 0 }].concat(data)
|
||||
}
|
||||
|
||||
onLoad((options) => {
|
||||
|
|
|
|||
|
|
@ -1,11 +1,10 @@
|
|||
import { isDevMode } from '@/utils/env'
|
||||
// #ifdef H5
|
||||
// 提交前需要注释 本地调试使用
|
||||
import Vconsole from 'vconsole'
|
||||
import { isDevMode } from '@/utils/env'
|
||||
// #endif
|
||||
|
||||
export default () => {
|
||||
isDevMode
|
||||
// #ifdef H5
|
||||
if (isDevMode()) {
|
||||
const vConsole = new Vconsole()
|
||||
|
|
|
|||
Loading…
Reference in New Issue