2025/1/6

微信小程序获取位置信息

//高德地图js import amapFile from '@/libs/amap-wx.130.js'; /** * 获取位置信息 */ const checkauthorize = () => { // #ifdef H5 getLocation(); //#endif //#…

  • uni-app 微信小程序
  • 2025/1/6
  • helei
  • 28
  • 2024/12/24

    husky – .git can’t be found

    husky - .git can't be found 修改package.json "prepare": "cd..&&husky install",

  • uni-app vue
  • 2024/12/24
  • helei
  • 38
  • 2024/12/8

    vben-admin 自定义form components 字典表下拉搜索框

    <script lang="ts" setup> import type { SelectValue } from 'ant-design-vue/lib/select' import { debounce } from 'lodash-es' import { defineProps, ref, watch } from …

  • antd vbenadmin
  • 2024/12/8
  • helei
  • 45
  • 2024/8/2

    nginx刷新404

    配置伪静态,解决nginx刷新404 location / { index index.php index.html index.htm default.php default.htm default.html; if (!-e $request_filename) { rewrite ^(.*…

  • nginx
  • 2024/8/2
  • helei
  • 421
  • 2023/12/12

    shell脚本运行后,让终端不再自动关闭

    #在shell脚本尾部加上下面内容即可 exec /bin/bash

  • shell
  • 2023/12/12
  • helei
  • 572
  • 2023/11/30

    vben-admin集成electron\vite 项目集成electron

    1.安装electron,通过yarn下载electron yarn add electron 2.在根目录中新建一个electron文件夹,在文件夹中新建main.js 3.修改package.json文件 删除type字段,不然运行会报错 然后添加"main": "ele…

  • electron vite vue
  • 2023/11/30
  • helei
  • 665
  • 2023/10/30

    查看mysql所有库的大小

    SELECT table_schema AS 'Database', CONCAT(ROUND(SUM(data_length + index_length) / 1024 / 1024, 2), 'MB') AS 'Size' FROM information_schema.tables WHERE tab…

  • mysql
  • 2023/10/30
  • helei
  • 582