|
@@ -19,7 +19,7 @@
|
|
|
>
|
|
>
|
|
|
<div
|
|
<div
|
|
|
class="list-content-item"
|
|
class="list-content-item"
|
|
|
- @click="change"
|
|
|
|
|
|
|
+ @click="change('/detail')"
|
|
|
>
|
|
>
|
|
|
<n-image
|
|
<n-image
|
|
|
width="60"
|
|
width="60"
|
|
@@ -38,7 +38,7 @@
|
|
|
<span>缺个设备?</span>
|
|
<span>缺个设备?</span>
|
|
|
<n-button
|
|
<n-button
|
|
|
type="warning"
|
|
type="warning"
|
|
|
- @click="change"
|
|
|
|
|
|
|
+ @click="change('/device')"
|
|
|
>
|
|
>
|
|
|
继续
|
|
继续
|
|
|
</n-button>
|
|
</n-button>
|
|
@@ -71,8 +71,8 @@ const deviceList = ref([
|
|
|
{ check: false, url: new URL('./img/3.png', import.meta.url).href },
|
|
{ check: false, url: new URL('./img/3.png', import.meta.url).href },
|
|
|
{ check: false, url: new URL('./img/3.png', import.meta.url).href }
|
|
{ check: false, url: new URL('./img/3.png', import.meta.url).href }
|
|
|
])
|
|
])
|
|
|
-function change() {
|
|
|
|
|
- router.push('/device')
|
|
|
|
|
|
|
+function change(url:string) {
|
|
|
|
|
+ router.push(url)
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|