import * as all from './Navbar.module.scss';
console.log('all', all);
v-model:fefco="value"
- это просто сокращение для :fefco="value" @update:fefco="value = $event"
$emit('update:fefco', newValue)
), вот модель и "не работает".withDirectives
в приведённом коде я не вижу. Либо ты привёл не весь код, либо проблема в ином месте. class Enemy {
x = 0;
y = 0;
hp = 0;
constructor() {
return reactive(this)
}
}
class Enemies {
constructor() {
return reactive(this)
}
enemies: Array<Enemy> = [];
addEnemy() {
this.enemies.push(new Enemy());
};
moveEnemies() {
this.enemies.forEach((enemy) => {
if (enemy.hp > 0) {
enemy.x += 1;
}
});
};
}
const enemies = new Enemies();
enemies.addEnemy();
enemies.moveEnemies();
function Reactive<TBase extends new (...args: any[]) => any>(Base: TBase) {
return class extends Base {
constructor(...args: any[]) {
super(...args);
return reactive(this);
}
};
}
@Reactive
class Enemy {
x = 0;
y = 0;
hp = 0;
}
class Reactive {
constructor() {
return reactive(this)
}
}
class Enemy extends Reactive {
x = 0;
y = 0;
hp = 0;
}
но хотелось - что бы index.html всегда запрашивался с сервера новый.
version
с номером версии и пинговать его с клиента постоянно: если изменилась версия - выводить юзеру уведомление вида "Доступно обновление, требуется <a @click="location.reload()">перезагрузить страницу</a>."
isTrusted
, сможет отличить искусственный клик от настоящего, что для капчи сам доктор прописал. (Если прям очень хочется - в персональным firefox можно что-то помутить с config.js, но мутно, с chrome - хз.)I realize this is an old thread but I just want to put this reply out there in case others on the internets search on this subject for this mainboard or other mainboards with similar issue.
To enable AHCI, No special mod BIOS is needed other than the latest version from the board manufacturer if desired. Not all board manufacturers make their BIOS menus straight forward when it comes to AHCI. As in the case with this particular model ASROCK N68-S UCC there is nothing in the BIOS menus that would indicate a single storage device configuration with AHCI. In other words.. to enable AHCI mode the storage setting must be set to RAID. After this setting is saved, press F10 or whatever key the RAID BIOS instructs to configure RAID. Choose "Striped" or RAID 0 which support 1 or more drives. All other RAID configurations will complain that the configuration is invalid due to incorrect number of storage devices. After the RAID BIOS is saved with the striped/RAID 0 configuration it is now ready to install Win7, Win8 etc.. . If either does not recognize the storage device, the SATA driver directory should be copied to a USB and loaded during initial Windows setup.
I only came across this when an existing HDD failed on a workstation and I replaced it with an SSD that complained that performance would take a hit due to AHCI not having been enabled.