mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-06-02 07:01:47 +08:00
保存二维码
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user