mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-24 19:39:27 +08:00
feat: 支持 uTools list 模板
This commit is contained in:
@@ -162,6 +162,10 @@ export default {
|
||||
}
|
||||
},
|
||||
changeCurrent(index) {
|
||||
const webview = document.getElementById('webview');
|
||||
webview && webview.send('changeCurrent', index);
|
||||
if (!this.options) return;
|
||||
if (this.currentSelect + index > this.options.length - 1 || this.currentSelect + index < 0) return;
|
||||
this.currentSelect = this.currentSelect + index;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user