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