src/components/smallModule/NewTest.vue
@@ -8,7 +8,7 @@ </div> </div> <div class="new-test-content"> <el-button class="block-button" type="primary" size="small">新建试验</el-button> <el-button class="block-button" type="primary" size="small" :disabled="!to">新建试验</el-button> </div> </div> </template> @@ -36,6 +36,10 @@ type: Number, default: 0 }, to: { type: String, default: "" } }, data() { return {