摘要: \public\assets\js\require-backend.js 增加 'bootstrap-table-auto-refresh': '../libs/bootstrap-table/dist/extensions/auto-refresh/bootstrap-table-auto-ref 阅读全文
posted @ 2025-04-25 19:58 一颗糊涂淡 阅读(128) 评论(0) 推荐(0)
摘要: , { field: 'star', title: __('Star'), visible: false, operate: false }, { field: 'jointime', title: __('Jointime'), operate: 'RANGE', addclass: 'datet 阅读全文
posted @ 2025-03-15 13:20 一颗糊涂淡 阅读(239) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2025-03-05 15:33 一颗糊涂淡 阅读(17) 评论(0) 推荐(0)
摘要: //发送短信消息 public function sendmsg($phone='') { // $phone = '13333333333'; $account = 'C55xxxxxx'; $password = 'xxxxxxxxxxxxxxxxxx'; $content = '您好!温馨提醒 阅读全文
posted @ 2025-01-16 10:21 一颗糊涂淡 阅读(11) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2025-01-13 17:14 一颗糊涂淡 阅读(14) 评论(0) 推荐(0)
摘要: 1 $worderData = [ 2 [ 3 'id'=>1, 4 'name'=>'张三', 5 'distance'=>0.1, 6 ], 7 [ 8 'id'=>2, 9 'name'=>'李四', 10 'distance'=>2.5, 11 ], 12 [ 13 'id'=>3, 14 阅读全文
posted @ 2025-01-11 17:14 一颗糊涂淡 阅读(7) 评论(0) 推荐(0)
摘要: Db::startTrans(); try { Db::commit(); $this->success(''); } catch (\think\Exception\DbException $e) { Db::rollback(); $this->error(''); } 阅读全文
posted @ 2024-02-21 11:25 一颗糊涂淡 阅读(19) 评论(0) 推荐(0)
摘要: <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script> <script> // VConsole 默认会挂载到 `window.VConsole` 上 var vConsole = new wind 阅读全文
posted @ 2023-12-02 00:39 一颗糊涂淡 阅读(38) 评论(0) 推荐(0)
摘要: 引入js库 <script src="https://res.zvo.cn/translate/translate.js"></script> 在页面最底部加入js代码 //translate.ignore.tag.push('span'); //翻译时追加上自己想指定忽略的tag标签,凡是在这里面 阅读全文
posted @ 2023-09-01 11:42 一颗糊涂淡 阅读(919) 评论(0) 推荐(0)
摘要: { field: 'switch', title: __('Switch'), table: table, // formatter: Table.api.formatter.toggle formatter:function (value, row, index) { if (row.status 阅读全文
posted @ 2023-06-26 22:19 一颗糊涂淡 阅读(1257) 评论(0) 推荐(0)